|
From: Keith M. <kei...@us...> - 2009-10-04 11:52:52
|
On Sunday 04 October 2009 06:34:13 Danny Smith wrote: > > I'll be sure to build the binutils 2.20 release with > > --with-sysroot to overcome this issue. > > That would be a mistake unless you are building a cross-linker. As > documented in gcc and ld info, the -sysroot option is designed > for cross-compilers and cross-linkers. Like Danny says, that would be a mistake. The real question to be asked, (of the OP)... > I've been trying to get llvm-gcc compiled under mingw. Did you also build a cross-binutils, (with --target=llvm), to go with your cross-gcc? That's the one that needs to be configured with the --with-sysroot option. You might find some inspiration in the build scripts, which we provide on the MinGW downloads page at SourceForge -- they define the procedure I use to build my GNU/Linux hosted cross-MinGW, (still using GCC-3.4.5, until I find enough round tuits to update for the new packaging format, and extra dependencies of GCC-4.4). -- Regards, Keith. |