Date: Thu, 5 Oct 1995 21:08:00 -0400 From: dj (DJ Delorie) To: andy AT soft-n-hard DOT de Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: compiler path > One of the problems I have is the compiler path. How does > this work with djgpp? I know that most things are set in > djgpp.env, but I can't find the location where these settings > are parsed. Is it in the stub or where? gcc and cpp use the environment variables as documented in the manual, but only for native compiles! For cross-compiling, you have to build the cross compiler with an understanding of where the subprograms, includes, and libraries will be found. In V1, go32 reads the djgpp.env file. In V2, src/libc/crt0/*.c reads the environment file (it's in libc.a, and hence in your application).