From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21244 invoked by alias); 14 Feb 2008 14:52:17 -0000 Received: (qmail 21234 invoked by uid 22791); 14 Feb 2008 14:52:16 -0000 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 14 Feb 2008 14:51:47 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1JPfRC-0004A8-3s from philippe_scelers@mentor.com for gcc-help@gcc.gnu.org; Thu, 14 Feb 2008 06:51:46 -0800 Received: from svr-frp-exc-02.mgc.mentorg.com ([137.202.92.23]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 14 Feb 2008 06:51:45 -0800 Received: from [137.202.37.90] ([137.202.37.90]) by svr-frp-exc-02.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 14 Feb 2008 15:51:43 +0100 Message-ID: <47B4557F.3080209@mentor.com> Date: Thu, 14 Feb 2008 14:52:00 -0000 From: Philippe Scelers User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: How to build a stripped version of gcc Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-02/txt/msg00148.txt.bz2 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