This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I don't know about building the compiler without symbols, but I believe that the "strip" command would do the job for you. I copied my executable to /tmp (just to be safe) and after running "strip", it dropped in size from 171924 to 86016 bytes. Regards, Larry Langerholc Larry Langerholc e-mail: larry.langerholc@icn.siemens.com phone: (561)-923-1789 fax: (561)-923-1708 > -----Original Message----- > From: Christopher Bahns [mailto:chris@bahns.com] > Sent: Wednesday, October 25, 2000 9:02 PM > To: crossgcc@sourceware.cygnus.com > Subject: Build XGCC without debug info? > > > It seems that when building a cross-compiler (using binutils-2.10, > gcc-2.95.2, and newlib-1.8.2), the resulting binaries are by default > built with debug information (I know because I am able to use gdb to > step through the compiler source). Anyone know an easy (or proper) way > to build the compiler and libraries without debug info? I assume the > resulting files would be quite a bit smaller. > > Thanks for any help! > Chris > > > ------ > Want more information? See the CrossGCC FAQ, > http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to > crossgcc-unsubscribe@sourceware.cygnus.com > ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |