I'm trying to build a cross toolchain using gcc-3.4.3.20050110. The host is a Gentoo i686 with glibc, the target is an arm with uclibc. When building the cross gcc, I found no way to specify different CFLAGS for the compilation of the host parts (compiler executables) and the target parts (libgcc, the Java libs, ...) of the gcc build. I checked the log: The host parts are built with my make.cong CFLAGS, the target parts are using *default* CFLAGS (which is bad, I need to specify the arm processor type etc.!). I think the native gcc build understands LIBCFLAGS or LIBGCC2_CFLAGS for that purpose (I don't know exactly which one), but how do I specifiy them when using emerge?
Is there any "portage" way to add updatetable cross-compilers? For example to distcc through i586, i686 and amd64?
you can already script around this, no need to added more complexity
? Was comment #2 for my original problem or for comment #1? What do you mean by "you can already script around this"?