This is the mail archive of the gcc-help@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]
Other format: [Raw text]

RE: Gfortran and load flags


 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@dessent.net] 
Sent: Thursday, October 16, 2008 9:07 AM
To: Vardhan, Sundara (GE Infra, Energy)
Cc: gcc-help@gcc.gnu.org
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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]