[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-ia64
Subject: Re: crosscompiled gcc
From: "Marc_Lörner" <loerner () gmx ! de>
Date: 2009-12-15 19:05:52
Message-ID: 20091215190552.82920 () gmx ! net
[Download RAW message or body]
-------- Original-Nachricht --------
> Datum: Tue, 15 Dec 2009 10:56:50 -0800
> Von: Marcel Moolenaar <xcllnt@mac.com>
> An: "Marc Lörner" <loerner@gmx.de>
> CC: freebsd-ia64@freebsd.org
> Betreff: Re: crosscompiled gcc
>
> On Dec 15, 2009, at 10:15 AM, Marc Lörner wrote:
>
> > > > Now, as it seems, something was changed/patched in gcc from 7.0 to
> 8.0.
> > > > So does anybody know where to tweak/patch or what to put in
> configuration
> > > > of original gcc 4.2.1 to make crosscompilling work for 8.0?
> > >
> > > Can you share what you did before to make it work? Maybe from the
> > > patch I can understand the problem you're trying to solve.
> > >
> >
> > For 7.0:
> > - make sysroot directory with all headers and libraries used
> > and put "--with-sysroot=XXX" as parameters of configure-scripts
> > - Add "--disable-werror" to configure of binutils2.17
> > - Add above and "--disable-initfini-array" to configure of gcc
> > => This worked for me, but unfortunately doesn't for 8.0.
> >
> > It seems compilation works, because I can run compiled kernel-objects.
> > But for userspace programs linked to libraries I get ld-elf.so undefined
> > symbol... errors.
>
> It seems you have it 95%-99% working. What are the undefined symbols?
>
/libexec/ld-elf.so.1: /test_app: Undefined symbol \
"_ZNSt15basic_streambufIcSt11char_traitsIcEE7seekoffExSt12_Ios_SeekdirSt13_Ios_Openmode"
Maybe something wrong with my boost-lib or libstdc++?
Regards,
Marc
--
Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
http://portal.gmx.net/de/go/dsl02
_______________________________________________
freebsd-ia64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ia64
To unsubscribe, send any mail to "freebsd-ia64-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic