On Thu, Nov 10, 2011 at 5:43 AM, Julian Pidancet <julian.pidan...@gmail.com> wrote: > On 11/08/11 20:29, Richard Purdie wrote: >> >> I'm left wondering how useful the resulting compiler is to most users. >> In most cases a user would expect full libc support and hence this is >> likely to confuse them. I do appreciate people do have usecases for a >> compiler that can handle the other bit format though. >> > > Standard linux distros out there like debian or gentoo already ship a > biarch gcc per default. It wouldn't seem odd to me if OE had an option > to enable the generation of a biarch compiler. > >> I think my biggest worry is the "--enable-targets=all" option which may >> or may not enable things we might not want enabled. I've not had a >> chance to go and look at gcc and convince myself that piece is safe. The >> other pieces looked less worrying. >> > > In the patch, the --enable-targets=all is only active in the x86 case. I > did not find any other way of enabling both -m32 and -m64 switches in gcc.
enable-target=all would sort of create a single toolchain for multlibs we have but it needs to package the gcc runtime and building glibc accordingly I cant say it will be just harmless to enable it right now mips/powerpc/x86 are architectures that could do it in oe. > > I've been successfully using this patch to generate a complete x86 32bit > distro with a 64bit Xen hypervisor (I believe the result would have been > the same if I tried to compile a 64bit linux kernel). I did not have any > issues with it so far. > > Cheers, > > -- > Julian > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core