Re: [uCsimm] m68k-pic32, adding _cleanup to libc

From: Erwin Authried (
Date: Fri Aug 31 2001 - 07:08:59 EDT

aquin Garay schrieb:

> > Joaquin
> > One solution to this is to add a dummy _cleanup function to crt0.S
> >
> > _cleanup(){}
> >
> > Make sure you are using the modified crt0.S attached (cleanup is not in
> > this one)
> >
> > Phil
> I tried it but I don't know why I never get a running program if i did
> it that way, so I add cleanup.c (with the dummy function) when I compile
> the program.

Adding _cleanup() back into crt0.S will definitely not work. This function must
be at the end of your object files.
Look at, or look into the archives, it has been
discussed many times.


This message resent by the list server

This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:44 EST