delorie.com/archives/browse.cgi | search |
Christian Joensson wrote: > CC='gcc -mno-cygwin' CXX='g++ -mno-cygwin' ../src/configure \ > --build=i686-pc-cygwin --target=i686-pc-mingw32 --prefix=/opt/mingw You should specify all three here. Sorry if I wasn't clear about that before. --build=i686-pc-cygwin --host=i686-pc-mingw32 --target=i686-pc-mingw32. Without --host it assumes that host=build, and tries to make a Cygwin binary, which fails since you're using mingw gcc. This is only necessary for toolchains, for regular libraries (e.g. gmp and libiconv) you should only need --host and --build when cross-compiling. I didn't mean to discourage you from cross compiling binutils the way you currently are, only to point out that doing "configure i686-pc-mingw32" is discouraged by autoconf people and that the preferred way is to spell out host, target, build explicitly. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |