This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: newlib and libgloss questions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]