Re: Gfortran and load flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux