Re: Object file for Module is too large

2009-05-21 Thread Alison Boeckmann
Thanks for your advice. Andy Vaught wrote on May 19: I've got this fixed, your test code now compiles to 428 bytes. It's a very osx-specific deal... Thanks to Dominique Dhumieres for letting me know that new versions were posted to ftp.g95.org: -rw-r--r--2 2055 2055 3229447 May

Re: Object file for Module is too large

2009-05-20 Thread FX
g95 sets DECL_COMMON on these variable decls (only for Darwin targets). This seems like a hack to me (see below). The problem is darwin-specific, not related to the front-end. On darwin: $ cat a.c int x[999] = { 0 }; $ gcc -c a.c && ls -lh a.o -rw-r-- r-- 1 fx wheel 38M May 12 13:43 a.o $

Re: Object file for Module is too large

2009-05-12 Thread FX
Hi Alison, This issue is not specific to Fortran, but it's specific to Darwin (you say that "the large object files have been observed on many other platforms", but could you give a list of such platforms?): $ cat a.c int x[999] = { 0 }; $ gcc -c a.c && ls -lh a.o -rw-r--r-- 1 fx whee