That doesn't work. These flags get eaten as described.
I love manuals!
All the best,
Jan.

"Gary V. Vaughan" wrote:
> 
> On Tue, Aug 29, 2000 at 02:03:35PM +0200, [EMAIL PROTECTED] wrote:
> > I am having some problems linking together some libtool convenience
> > libraries and a shared and an external shared library. As part of the
> > solution I need to pass the "-nostartfiles" flag to gcc during linking.
> > However the flag simply gets eaten if I pass it through libtool via
> > libmva_la_LDFLAGS. Is there a way to force options to appear on the
> > linke line?
> 
> RTFM!  From libtool.info (Link mode):
> 
> `-Wl,FLAG'
> `-Xlinker FLAG'
>      Pass a linker specific flag directly to the linker.
> 
> So you need to use:
> 
> libmva_la_LDFLAGS = -Wl,-nostartfiles
> 
> >
> >  ·´¯`·.¸¸..><((((º>.·´¯`·.¸¸.·´¯`·.¸><((((º>¸.·´¯`·.¸.,..·´¯`·..
> >  ><((((º>`·.¸¸.·´¯`·.¸.·´¯`·...¸><((((º>   [EMAIL PROTECTED]
> 
> Cool .sig!
> 
> Cheers,
>         Gary.
> --
>   ___              _   ___   __              _         mailto: [EMAIL PROTECTED]
>  / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       [EMAIL PROTECTED]
> | (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
>  \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
> home page:  /___/                      /___/                  gpg public key:
> http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc

-- 
 

 ·´¯`·.¸¸..><((((º>.·´¯`·.¸¸.·´¯`·.¸><((((º>¸.·´¯`·.¸.,..·´¯`·..
 ><((((º>`·.¸¸.·´¯`·.¸.·´¯`·...¸><((((º>   [EMAIL PROTECTED]

Reply via email to