This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Building newlib without -mhard-float
Rick Mann <rmann@latencyzero.com> writes:
> On Sep 7, 2007, at 9:43 AM, Dave Korn wrote:
>
>> You shouldn't need to be adding '-lc -lm -lgcc' either. And for
>> next time
>> you have troubles debugging a link, add '-v' to your commandline to
>> see what
>> the gcc driver *actually* ends up passing to the linker; that will
>> give you
>> some guidelines as to what could be going wrong.
>
> I'm using -nostdlib so that I can control the startup glue code.
Use -nostartfiles instead.
-- Sergei.