This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Adding '-nostartfiles' at link stage
- From: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- To: Yannick Perret <yperret at bat710 dot univ-lyon1 dot fr>
- Cc: automake at gnu dot org
- Date: Fri, 26 Apr 2002 13:41:01 +0200
- Subject: Re: Adding '-nostartfiles' at link stage
- References: <3CC90BE8.59161500@bat710.univ-lyon1.fr>
- Reply-to: automake at gnu dot org
>>> "Yannick" == Yannick Perret <yperret@bat710.univ-lyon1.fr> writes:
[...]
Yannick> The only (ugly) way I found was to do this:
Yannick> /bin/sh ../libtool --mode=link "gcc -nostartfiles" ...
Yannick> to force libtool to include the '-nostartfiles' option.
What do you mean by "to do"? Are you overriding the link rule?
Why these quotes around "gcc -nostartfiles"?
One usually adds link flags such as -nostartfiles using _LDFLAGS
(search maude_LDFLAGS in the Automake manual).
[...]
--
Alexandre Duret-Lutz