This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi all, hi mingw32 maintainers,This looks to me like a side effect of some file somewhere being generated with DOS line endings. I had something vaguely similar building a powerpc cross compiler on mingw/mys, noted in this message http://sourceforge.net/mailarchive/message.php?msg_id=15373554
I'm experiencing a strange bug building mainline as a native compiler on i386-pc-mingw32 (with MSYS). It builds fine with the following configure line:
../gcc/configure --prefix=/mingw --with-gmp=/home/coudert/local --disable-nls --with-ld=/mingw/bin/ld --with-as=/mingw/bin/as --disable-werror --enable-bootstrap --enable-threads --host=i386-pc-mingw32 --enable-languages=c,fortran
If I add the --enable-libgomp option (I know libgomp is not supposed to compile, but go on reading) it fails in configure-stage3-libdecnumber (that is, even *before* doing anything with libgomp): the error (from config.log) is the following:
configure:1751: error: C compiler cannot create executables xgcc.exe: CreateProcess: No such file or directory
Now, if I run the same command line that failed during configure, directly inside a shell, it works nicely. To understand this strange failure, I changed libiberty/pex-win32.c to print
printf ("CreateProcess (%s, %s, ...)\n", full_executable, cmdline);
just before the CreateProcess call, I get the following output:
xgcc.exe: CreateProcess: No such file or directory^M
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |