libtool-patches
[Top][All Lists]
Advanced

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

RE: allow specific flags through to the linker without modification


From: Howard Chu
Subject: RE: allow specific flags through to the linker without modification
Date: Thu, 8 May 2003 20:24:54 -0700

> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden Behalf Of
Boehne, Robert

> Peter,
> 
> I think this should be doable with -XCompiler, -Xlinker and 
> -XCClinker.
> >From the manual:
>   You can pass link specific flags to the compiler driver 
> using `-XCClinker flag'
>   or pass linker flags with `-Wl,flag' and `-Xlinker flag'.  
> You can also pass
>   compile specific flags using `-Wc,flag' and `-Xcompiler flag'. 
> 
> The intent is to allow anything that a user might want to have on the
> compiler driver's invocation to be possible.  Can what you want to
> achieve be done this way?

Ah, I missed that "-Xcompiler" option. If I use "-Xcompiler -Wc,DLL" will the
compiler then get invoked as "cc -Wc,DLL" ? If so, this works for me.

 -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support 

<<attachment: winmail.dat>>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]