This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Fwd: g77 data segment]
- To: chris dot hulme at se dot abb dot com
- Subject: Re: [Fwd: g77 data segment]
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Sat, 10 Jul 1999 10:59:50 -0400
- Cc: ronis at onsager dot chem dot mcgill dot ca, Toon Moene <toon at moene dot indiv dot nluug dot nl>, egcs at egcs dot cygnus dot com
>>>>> Chris Hulme writes:
Chris> I have been reading the manual pages for GNU Fortran on the internet trying to
Chris> find an equivelent command for the -bmaxdata command from xlf Fortran. The
Chris> command from the xlf function states
Chris> '-bmaxdata:<bytes>
Chris> Specifies the maximum amount of space to reserve for the
Chris> program data segment, if you need more than 256Mb.'
Chris> I have not use g77 before and am looking for a similar command that will allow
Chris> up to 512Mb data segment. I would appreciate any help or advice you can give.
-bmaxdata is an AIX linker commandline option. AIX compilers pass
commandline options beginning with -b to the link phase. GNU compilers
have another meaning for -b commandline options.
One can pass any commandline argument directly to the linker using
the "-Wl," GNU compiler commandline option. To set maxdata use
-Wl,-bmaxdata:NUMBER, e.g. -Wl,-bmaxdata:0x20000000 on the GNU Fortran
link line.
David