* How to build a stripped version of gcc
@ 2008-02-14 14:52 Philippe Scelers
2008-02-20 22:25 ` Marcelo Slomp
0 siblings, 1 reply; 2+ messages in thread
From: Philippe Scelers @ 2008-02-14 14:52 UTC (permalink / raw)
To: gcc-help
Hi,
I successfully build gcc-3.2.3 on many platform: linux x86 & x86_64 &
ia64, hpux parisc & pa64, solaris sparc & sparcv9, solaris x86.
Also I succeed build gcc-4.0.2 (not on HP-UX).
I wonder how to build a stripped version of gcc to reduce installation size.
I don't find any configuration option, nor make option documented.
Does anyone know how to do a stripped build of gcc?
Note: for test I strip my gcc installation file by file, executable and
dynamic libraries, but on Linux x86 & x86_64 I get link error and must
go back to unstripped files.
Thanks for help,
Philippe Scelers
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to build a stripped version of gcc
2008-02-14 14:52 How to build a stripped version of gcc Philippe Scelers
@ 2008-02-20 22:25 ` Marcelo Slomp
0 siblings, 0 replies; 2+ messages in thread
From: Marcelo Slomp @ 2008-02-20 22:25 UTC (permalink / raw)
To: gcc-help
Philippe Scelers wrote:
>
>
> Does anyone know how to do a stripped build of gcc?
>
> Thanks for help,
>
> Philippe Scelers
>
>
>
just pass the -s flag to the linker during the make process:
# make LDFLAGS=-s
--
View this message in context: http://www.nabble.com/How-to-build-a-stripped-version-of-gcc-tp15481792p15600396.html
Sent from the gcc - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-20 22:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-14 14:52 How to build a stripped version of gcc Philippe Scelers
2008-02-20 22:25 ` Marcelo Slomp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).