newlib and libgloss questions

Anton Erasmus antera@intekom.co.za
Sun Jan 25 08:46:00 GMT 2004


On 2004/01/23 at 06:45 vishu27@cox.net wrote:

>Hi,
>   I am trying to run C++ programs on an OS less system. I have an already
>prebuild gnupro tools. I have written a crt0.S and a syscalls.c which
>impelment _write , _read, _sbrk and a list of other calls which are given
>in the gnupro documentation.

[Stuff Snipped]
>

Hi,

You might try the
-nostartfiles
-nodefaultlibs
-nostdlib
options of gcc.

I have found these easier to use than stuffing around with spec files etc.


Regards
  Anton Erasmus


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list