From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13437 invoked by alias); 12 Jul 2006 05:35:44 -0000 Received: (qmail 13429 invoked by uid 22791); 12 Jul 2006 05:35:43 -0000 X-Spam-Check-By: sourceware.org Received: from zeus.daijo.org (HELO zeus.daijo.org) (85.17.16.1) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 12 Jul 2006 05:35:42 +0000 Received: (qmail 7820 invoked by uid 210); 12 Jul 2006 07:40:26 +0200 Received: from 84.123.228.149 by zeus (envelope-from , uid 201) with qmail-scanner-2.01st (clamdscan: 0.88.2/1592. spamassassin: 3.1.3. perlscan: 2.01st. Clear:RC:1(84.123.228.149):. Processed in 0.025111 secs); 12 Jul 2006 05:40:26 -0000 Received: from unknown (HELO ?192.168.1.5?) (84.123.228.149) by 0 with (DHE-RSA-AES256-SHA encrypted) SMTP; 12 Jul 2006 07:40:26 +0200 Message-ID: <44B48A2B.1000907@unixevil.info> Date: Wed, 12 Jul 2006 05:35:00 -0000 From: Victor Roman Archidona User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Ian Lance Taylor CC: gcc-help@gcc.gnu.org Subject: Re: gcc binary format output References: <44B4500F.4010406@unixevil.info> In-Reply-To: OpenPGP: id=A31FA9A0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-07/txt/msg00140.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, > Ian Lance Taylor escribió: When you compiled GCC yourself, what > target did you use? I didn't specified any target, my configure line was: ./configure --prefix=/usr - --bindir=/usr/x86_64-gentoo-freebsd6.1/gcc-bin/3.4.6 - --includedir=/usr/lib/gcc/x86_64-gentoo-freebsd6.1/3.4.6/include - --datadir=/usr/share/gcc-data/x86_64-gentoo-freebsd6.1/3.4.6 - --mandir=/usr/share/gcc-data/x86_64-gentoo-freebsd6.1/3.4.6/man - --infodir=/usr/share/gcc-data/x86_64-gentoo-freebsd6.1/3.4.6/info - --with-gxx-include-dir=/usr/lib/gcc/x86_64-gentoo-freebsd6.1/3.4.6/include/g++-v3 - --host=x86_64-gentoo-freebsd6.1 --build=x86_64-gentoo-freebsd6.1 - --disable-altivec --disable-nls --with-system-zlib --disable-checking - --disable-werror --disable-libunwind-exceptions --enable-multilib - --disable-libgcj --enable-languages=c,c++ --enable-shared - --enable-threads=posix --enable-__cxa_atexit > To get FreeBSD labelled binaries, you should configure with > something like --target=i386-freebsd I used it with the error: "Please update *-*-freebsd* in gcc/config.gcc" so I don't touch it (the $target that I got with that was "i386-pc-freebsd"). Shall config.gcc sets the correct target? Reading it I saw the case "*-*-freebsd[6].*)" and my CHOST is "x86_64-gentoo-freebsd6.1" so it triggered the target with same results. > You will also need to build the binutils with that --target option. > My binutils has the following BFDs: elf64-x86-64 elf32-i386-freebsd coff-i386 efi-app-ia32, and emulations: elf_x86_64_fbsd elf_i386_fbsd elf_x86_64 elf_i386 Thanks in advance, - -- Victor Roman Archidona -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) iD8DBQFEtIoJQ/ddYKMfqaARAj3UAKCVYKDjOEaIWyPPKHuAsabpPpIbcACfYLMU ToRvWAldWTCvTkxgU/iSCs8= =dfcM -----END PGP SIGNATURE-----