GCC For Embedded!?

Mike Stump mrs@windriver.com
Fri Dec 31 23:54:00 GMT 1999


> Date: Thu, 23 Dec 1999 10:41:03 +0800
> From: CIH <cih@wahoo.com.tw>

> static void XYZ()
> {
> // The XYZ function code is very big...
> }

> My god... I almost try all gcc command options, but "test" file still
> has the very big function "XYZ"...

compile with -ffunction-sections, and run the linker with
--gc-sections (sp?).



More information about the Gcc mailing list