Mail Archives: cygwin/1999/01/05/07:20:14
Gilles Depeyrot <Gilles DOT Depeyrot AT wanadoo DOT fr> writes:
> Hi everyone,
>
> I'm having a problem with Mingw32 egcs-1.1.1 concerning the
> GCC_EXEC_PREFIX environment variable.
>
> I launch and run egcs from inside an Win32 application using
> a call to CreateProcess. This works fine except for the fact
> that in this case, GCC_EXEC_PREFIX *must* be defined or I get
> an error message:
>
> gcc: installation problem, unable to exec `cpp'
Thanks for this very useful data point. I'm not sure why, but
my guess is that CreateProcess does not fill in the argv[0] with
the full pathname, and then GCC can't figure out where to look.
This is also useful for folks using IDEs such as Quincy or Vide
with mingw or cygwin.
Regards,
Mumit
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -