RE: Gfortran and load flags

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

 



 Hi Brian

Thanks much. My mistake. I apologize. I used Wl for others, do not know
how I muffed this up.

With Regards

Vardhan

-----Original Message-----
From: Brian Dessent [mailto:brian@xxxxxxxxxxx] 
Sent: Thursday, October 16, 2008 9:07 AM
To: Vardhan, Sundara (GE Infra, Energy)
Cc: gcc-help@xxxxxxxxxxx
Subject: Re: Gfortran and load flags

"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