help setting up an development environment

> I installed djgpp on dos, followed the guide and tested small one file> examples with gcc and gpp.> > c:\hxdev\sampels\djgpp>make> ....> ld.exe: cannot find -lgcc> > c:\dev\dflat\>build.bat> ....> make.exe *** No rule to make target 'makefile.dj'. Stop.> > I think something is fundamentally wrong.> > Did I miss to install something?

you failed to include the \gcc\bin (or whatever dir it's in) in the PATH statement?

help setting up an development environment

> > I installed djgpp on dos, followed the guide and tested small one file> > examples with gcc and gpp.> > > > c:\hxdev\sampels\djgpp>make> > ....> >> > Did I miss to install something?> > Dunno. What OS are you running on?

FreeDOS 1.0.

> You need at least , , (and > for C++). Then for Make you need , and possibly others> (PDCUR33B.ZIP, TXT20B.ZIP, SHL2011B.ZIP, FIL41B.ZIP, BSH205BB.ZIP) if your> sources require it.

help setting up an development environment

Seems you need to use -L (but even that will probably exceed the 126 byte or so cmdline limit). Just copy c:\djgpp\lib\gcc\djgpp\4.23\libgcc.a to your current dir and see if that works. If not, add "-L .", and if not then, I dunno.

From your screenshot, it looks like it (D-FLAT) used GCC 2.6.3 (old old old old !!!). As you may or may not know, getting old code to compile doesn't always work because GCC has changed so much. (Heck, v2 was introduced in 1996, and I think it used 2.7.x whereas I know EZ-GCC [1995] was v1 and used 2.6.0.) So it may just not work, that's the problem with source-only packages. Sorry.

help setting up an development environment

> From your screenshot, it looks like it (D-FLAT) used GCC 2.6.3 (old old> old old !!!). As you may or may not know, getting old code to compile> doesn't always work because GCC has changed so much. (Heck, v2 was> introduced in 1996, and I think it used 2.7.x whereas I know EZ-GCC [1995]> was v1 and used 2.6.0.) So it may just not work, that's the problem with> source-only packages. Sorry.

I think David Lindauer tweaked D-Flat to compile / work with his CC386, and he used it for Infopad. So you could take a look at that if you wanted. (FreeDOS EDIT also used it but only a barely-tweaked 16-bit version, using Turbo C I think.)

help setting up an development environment

> I think David Lindauer tweaked D-Flat to compile / work with his> CC386, and he used it for> Infopad. So you could take a look at that if you wanted. (FreeDOS> EDIT> also used it but only a barely-tweaked 16-bit version, using Turbo C I> think.)

It has some bug fixes and enhancements...tried to port it to DJGPP but give up.