Gfortran and load flags
Brian Dessent
brian@dessent.net
Thu Oct 16 13:07:00 GMT 2008
"Vardhan, Sundara (GE Infra, Energy)" wrote:
> I am using gfortran to compile and AIX ld for linker/loader. For this
> application, I need to use the bmaxdata loader option for which I used
> -W1,-bmaxdata:0x40000000 and passed it to gfortran. After compile and
> link, when I run the dump command to examine the binary, maxdata is not
> set to 0x40000000 but to 0. Any idea if what I am doing is wrong? Is it
> not that we need use -W1,option for passing any thing to the loader?
> Does it not apply to gfortran? As always I would appreciate your input
> and advice.
The flag to pass linker options is -Wl (lower case L) not -W1.
Brian
More information about the Gcc-help
mailing list