On Tue, Jun 3, 2014 at 6:35 PM, DJ Delorie <d...@redhat.com> wrote:
>
>> You can do that with the RH newlib as long as you don't link in
>> libgloss's versions of the low-level routines - i.e. remove -lgloss
>> from your link line and add -lbspacm.
>
> To clarify: don't link in -lnosys if you're not compiling with "-msim"
> or don't link in -lsim if you are compiling with "-msim"
>
> Both of these are linked at the same point as libc and libgcc, by the
> gcc driver, depending on whether or not you use the -msim option.

Yes, first impressions suggest if I could get rid of libgloss entirely
I could do what I want.

But since gcc's LIB_SPEC helpfully adds -lnosys for me at no extra
charge when I don't use -msim, how can I avoid linking it in?

Peter

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to