Mail Archives: djgpp/1995/10/05/22:09:21
> 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).
- Raw text -