where to put __exit ?

Jon Beniston jon@beniston.com
Fri Jun 25 22:21:00 GMT 2004

> When I try to compile a sample application the linker says :
> /usr/local/lib/gcc/mlx16/3.4.0/../../../../mlx16/lib/libc.a(exit.o):  
> undefined reference to `__exit'.
> Where and how I should put the __exit function. The platform 
> I am porting  
> newlib to, does not have an OS yet.

This should probably go into libgloss/yourplatform.


More information about the Newlib mailing list