This is the mail archive of the gcc-patches@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]

Re: [PATCH] Fix mingw32 bootstrap regression.


'Bob Rossi' escreveu:
 cc1 -E -lang-asm -quiet ...
xgcc.exe: CreateProcess: No such file or directory

It tries to call cc1. I don't have that on my path. Is cc1 normal to
call?

What's odd is that the xgcc line looks like, /home/bobbybrasko/gcc/svn/build4/./gcc/xgcc -B/home/bobbybrasko/gcc/svn/build4/./gcc/ ...
and the -B directory has $ ls -al /home/bobbybrasko/gcc/svn/build4/./gcc/cc1.exe
-rwxr-xr-x 1 bobbybrasko None 20303887 Dec 24 07:47
/home/bobbybrasko/gcc/svn/build4/./gcc/cc1.exe
and
/home/bobbybrasko/gcc/svn/build4/./gcc/xgcc -print-search-dirs -B/home/bobbybrasko/gcc/svn/build4/./gcc/ ...
programs:
=/home/bobbybrasko/gcc/svn/build4/gcc/mingw32/4.3.0/;
/home/bobbybrasko/gcc/svn/build4/gcc/;
and there the directory is again with cc1.exe in it.


Why wouldn't gcc be able to find this?


I bit of guesswork, since I never bootstrapped MinGW myself, but:


MinGW/native Windows apps don't know a thing about the /home/bobbybrasko
cygwin mount and xgcc should be a MinGW app.
That's why Danny has the following cygwin mount, and he puts the sources/builddir there:


c:\developex on /developex type system (binmode)

This way, both cygwin and MinGW will resolve the /developex path to the same dir.
(/ on the MinGW side will resolve to the root of the current drive. )


Cheers,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]