Re: [Waba-spec] Question: _cleanup() function
Status: Abandoned
Brought to you by:
bornet
From: Olivier B. <Oli...@sm...> - 2003-04-13 10:08:07
|
Hello Mag, (sorry for the long delay before answering) > I read README.uClinux file, it mentioned that the cleanup() function is n= ecessary. > Where i could place the _cleanup function ? should i palce it in some > c files or create a separate c file to store this function ? Two solutions:=20 - add in all your applications. Just add a : void _cleanup(void) {} in one of your sources. See: http://www.uclinux.org/pub/uClinux/archive/4941.html - patch the libc.a to have the _cleanup() function. I'm not sure this is always needed with last release of uC-libc. Anyway, this seem to be obsolete, and you must try to use m68k-elf-gcc instead. See: http://www.uclinux.org/pub/uClinux/archive/4939.html (sorry, I don't have any kind of experience with m68k-elf-gcc at this time.) Hope this help. Olivier --=20 Olivier Bornet http://www.smartdata.ch/ Oli...@sm... SMARTDATA SA Phone: +41-27-723'55'03 Rue du Coll=E8ge 5A GPG key ID: C53D9218 CH-1920 Martigny |