From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6434 invoked by alias); 2 Aug 2008 14:59:34 -0000 Received: (qmail 6422 invoked by uid 22791); 2 Aug 2008 14:59:32 -0000 X-Spam-Check-By: sourceware.org Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.180) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 02 Aug 2008 14:59:15 +0000 Received: by wa-out-1112.google.com with SMTP id k22so944249waf.20 for ; Sat, 02 Aug 2008 07:59:13 -0700 (PDT) Received: by 10.114.26.18 with SMTP id 18mr12873297waz.162.1217689153457; Sat, 02 Aug 2008 07:59:13 -0700 (PDT) Received: by 10.114.177.10 with HTTP; Sat, 2 Aug 2008 07:59:13 -0700 (PDT) Message-ID: <42f6506e0808020759qa4d7022xcecf10e7bbeab020@mail.gmail.com> Date: Sat, 02 Aug 2008 14:59:00 -0000 From: "Gaurav Jain" To: gcc-help@gcc.gnu.org Subject: Error Compiling GCC on Solaris 10 / x86 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes 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-08/txt/msg00010.txt.bz2 Hi, I'm trying to build GCC 4.1.0 on Solaris 10 / x86 on a Intel x86_64 architecture system. The gcc installation will be used on multiple systems running on 32-bit and 64-bit architectures. I'm configuring it using the "GNU ld" and "GNU as" combination. The configuration options I've used are: ./configure --prefix=/export/home/gaurav/third_party/gcc/4.1.0/ConfiguredWithGnuASGnuLD --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/sfw/bin/gld --with-gnu-ld --enable-languages=c,c++ --enable-shared The error comes during the link of ./libgcc_s.so.1.tmp: /usr/sfw/bin/gld: cannot open linker script file ldscripts/elf_i386.xsc: No such file or directory collect2: ld returned 1 exit status The bootstrap compiler being used is GCC 3.4.3, configured using GNU as and Sun ld. Can anybody help? Thanks Gaurav