This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: cross compiler for x86_64 freebsd
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: john blair <mailtome200420032002 at yahoo dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 12 Jan 2010 12:10:26 -0800
- Subject: Re: cross compiler for x86_64 freebsd
- References: <894643.37651.qm@web53103.mail.re2.yahoo.com>
On Tue, Jan 12, 2010 at 11:55 AM, john blair
<mailtome200420032002@yahoo.com> wrote:
> I am trying to build a crosscompiler (gcc-4.1.2, binutils-2.15, freebsd-8.0)
> with target as x86_64-freebsd and host as i686-linux. Everything builds successfully but compiler-assist libraries (libgcc_s, libstdc++, etc.) are
> Linux library, not a FreeBSD one.
> $ file gcc-4.1.2/x86_64-freebsd8.0/lib/libstdc++.so.6.8
> gcc-4.1.2/x86_64-freebsd8.0/lib/libstdc++.so.6.8: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
>
> If I build with binutils-2.17.50.15 everything is fine.
> $ file gcc-4.1.2/x86_64-freebsd8.0/lib/libstdc++.so.6.8
> gcc-4.1.2/x86_64-freebsd8.0/lib/libstdc++.so.6.8: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped
>
What is the problem when it works with newer binutils?
--
H.J.