This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [Fwd: g77 data segment]


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]