[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] re: Gnu Modula-2 binary size.
From: |
Gaius Mulley |
Subject: |
[Gm2] re: Gnu Modula-2 binary size. |
Date: |
Fri, 29 May 2009 18:57:40 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Hi,
when the cvs savannah server returns I'll check in some patches which
allow users to specify no exception handling code should be generated.
When coupled together with the minimal libraries they yield the
following result on a LP64 debian system.
$ cat hello.mod
MODULE hello ;
FROM libc IMPORT printf ;
BEGIN
printf("hello world\n")
END hello.
$ gm2 -fno-exceptions -c -g hello.mod
$ gm2 -fno-exceptions -flibs=min -g hello.mod
$ size a.out
text data bss dec hex filename
2041 576 32 2649 a59 a.out
I've modified the Make-file.in slightly so that the minimal libraries
are now built and installed by default (they only consist of two
modules).
regards,
Gaius
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gm2] re: Gnu Modula-2 binary size.,
Gaius Mulley <=