This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
RE: where to put __exit ?
- From: "Jon Beniston" <jon at beniston dot com>
- To: "'Petar Penchev'" <ptr at melexis dot com>,<newlib at sources dot redhat dot com>
- Date: Thu, 24 Jun 2004 12:22:08 +0100
- Subject: RE: where to put __exit ?
- Reply-to: <jon at beniston dot com>
> 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.
Cheers,
JonB