Mail Archives: djgpp/1998/04/16/16:54:46
Michael, or anyone,
Did you place these environment variables in the djgpp.env file? Since
the compiler is included in both, how do you tell the computer which to
use, and which libraries to use? I'm just a little confused about the
science to getting two compilers to work on the same system, especially
with paths. Is there something special I need to do with the
autoexec.bat? Or do I need to make autoexec.bat vanilla, and create two
*.bat files for each compiler to set the paths? (If I initiate one .bat
file to compile a Win32 program, then would initiating the other .bat
file to compile a dos program - maybe to use Allegro, replace the path
information from the first .bat? Or would I have to reboot to clear the
memory? I've been away from Dos too long! :)
Cheers,
Mike
Michael Mauch wrote:
> http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32/download.html
> doesn't need an installed GNU-Win32. It works fine, except that I didn't
> find a `makeŽ port that works in all aspects: the DJGPP port doesn't
> give long command lines to the Win32-gcc, and the various Win32 ports I
> found all had other problems on Win95 (I don't remember what problems
> exactly these were). If someone has a good Win32-make that works on
> Win95 (not only NT), I'd be glad to hear from you.
>
> The environment variables that I set for Mingw32:
>
> set MINGW32=R:\MINGW32
> set PATH=%MINGW32%\bin;%PATH%
>
> set C_INCLUDE_PATH=%MINGW32%\include
> set CPLUS_INCLUDE_PATH=%MINGW32%\include\g++;%C_INCLUDE_PATH%
> set LIBRARY_PATH=%MINGW32%\lib
> set GCC_EXEC_PREFIX=%MINGW32%\lib\gcc-lib\
>
> set BISON_SIMPLE=%MINGW32%\share\bison.simple
> set BISON_HAIRY=%MINGW32%\share\bison.hairy
>
> set CC=gcc
>
> Regards...
> Michael
- Raw text -