> Doing "set DJDIR=c:\devel\djgpp" I get stdio.h not found when compiling hello world.
Cargo cult programming is your crime. You copied and pasted the example as if it's some magic incantation. It's not. You're supposed to replace the path given so that %DJDIR% points to the base of your gcc-ia16 installation. I can't tell you where it's installed on your system - you are supposed to be keeping up with that yourself. Remember: This is DOS, not Windows, Linux, etc.; the work is up to YOU! -- Kirn Gill II Mobile: +1 813-300-2330 <+18133002330> VoIP: +1 813-704-0420 <+18137040420> Email: segin2...@gmail.com LinkedIn: http://www.linkedin.com/pub/kirn-gill/32/49a/9a6 On Tue, Apr 9, 2024 at 12:02 PM Paul Dufresne via Freedos-devel < freedos-devel@lists.sourceforge.net> wrote: > I tried to install I16GCC from bonus CD of FDT2404. > When I tried to compile a program it says I need to set DJGPP environment > variable. > https://gitlab.com/tkchia/build-ia16/-/releases says: > > "If you get the error message i16gcc.exe: fatal error: environment > variable DJGPP not defined when running i16gcc.exe, you can do one of the > following: > > Install the DJGPP base environment first, and then set the DJGPP DOS > variable to point to its djgpp.env, e.g. set > DJGPP=c:\devel\djgpp\djgpp.env. (See DJGPP's readme.1st for more > information.) > Alternatively, if you do not wish to install DJGPP, just set a DJDIR > environment variable thus: set DJDIR=c:\devel\djgpp." > > Doing "set DJDIR=c:\devel\djgpp" I get stdio.h not found when compiling > hello world. > > And it seems DJGPP is not on FDT2404-BNS.ZIP. > > On 1.3, DJGPP programs are listed: > > http://ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.3/official/report.html > > But not at all in: > > http://ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/test/report.html > > What I need to have i16gcc working in FDT2404? > > Is DJGPP supposed to be in FDT24040? > > > > > > > > _______________________________________________ > Freedos-devel mailing list > Freedos-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-devel >
_______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel