Based on my other email about getting IA-16 GCC to work on T2404 without installing DJGPP, I propose adding a new package in T2405 called I16ENV that just has two files in it:
/devel/i16gnu/djgpp.env /devel/i16gnu/setenv.bat The DJGPP.ENV file contains just: DJDIR= And the SETENV.BAT file sets the PATH and points the DJGPP environment variable to the DJGPP.ENV file, like this: @ECHO OFF PATH %PATH%;C:\DEVEL\I16GNU\BIN SET DJGPP=C:\DEVEL\I16GNU\DJGPP.ENV Since it gets installed in the IA-16 GCC directory, it shouldn't get confused with the DJGPP stuff. If the DJGPP env file is called DJGPP.ENV, it will make more sense when people find references to "DJGPP.ENV" in other documentation. And because the package will be named similarly to the other IA-16 GCC packages, users will be more likely to install it when they install IA-16 GCC. But because we aren't updating any original IA-16 GCC packages, it keeps things clean at the expense of a little extra "overhead" for the package. But if you're installing a C compiler, you likely can spare the tiny extra space. This will be a good way for others to start testing compiling programs using IA-16 GCC in a working default configuration on a fresh install, starting with the next test release. This works on my T2404 installation. Here is a copy/paste of my FreeDOS session after a fresh reboot (using unmodified FDAUTO.BAT): C:\DEVEL>dir /b I16GNU WATCOMC C:\DEVEL>cd i16gnu C:\DEVEL\I16GNU>dir /b BIN IA16-ELF LIB LIBEXEC SHARE DJGPP.ENV SETENV.BAT C:\DEVEL\I16GNU>type setenv.bat @ECHO OFF PATH %PATH%;C:\DEVEL\I16GNU\BIN SET DJGPP=C:\DEVEL\I16GNU\DJGPP.ENV C:\DEVEL\I16GNU>type DJGPP.ENV DJDIR= C:\DEVEL\I16GNU>setenv.bat .. now I'll switch to the D: drive to compile a program .. D:\SRC>dir /b hello.* HELLO.C D:\SRC>type hello.c #include <stdio.h> int main() { puts("Hello world"); return 0; } D:\SRC>i16gcc -Wall -o hello.exe hello.c D:\SRC>dir /b hello.* HELLO.C HELLO.EXE D:\SRC>hello.exe Hello world _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel