2009/12/2 Peter Stuge <[email protected]> > Shinkan wrote: > > to compile with given versions of glibc/binutils, to be sure that > > some bins will run on my target system. > > > > 1) Is there any other way to do that without emerging a > > cross-compiler on my host ? > > You could do it for the toolchain, and use eselect to pick which one > should be active. For libc, I don't think it's possible. > > In fact I noticed I don't really need cross dev. So I just emerged GCC 3.4 (my host is compiled with 4.3), gcc-config selected it. Would that be sufficient to build my target (by doing emerge --root=/mytarget --config-root=/myconfig system) en ensure my target will run GCC 3.4 compiled binaries ?
I tested it and emerge failed on some ports because installing them use binaries that complain about not finding required versions of "CXXABI" or so in libstdc++. What could I do to fix that ? -- Pierre. "Sometimes when I'm talking, my words can't keep up with my thoughts. I wonder why we think faster than we speak. Probably so we can think twice." - Bill Watterson
