Alessandro Rubini wrote: >> the glibc is also packed >> up as a part of application though I never make any calls to the glibc >> libraries. >> > > If however you really want to build an application without library, you > should change the linker script. some or all of the following gcc flags might be useful if you are truly compiling an OS independent very small application -U__linux__ -nostdlib -nostdinc -mno-eabi -fno-builtin -nostartfiles -nodefaultlibs -nostdlib Also as Alessandro pointed out you will likely need a link script.
-- Dave Lynch DLA Systems Software Development: Embedded Linux 717.627.3770 [EMAIL PROTECTED] http://www.dlasys.net fax: 1.253.369.9244 Cell: 1.717.587.7774 Over 25 years' experience in platforms, languages, and technologies too numerous to list. "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." Albert Einstein _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded