Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Simple file manager written in C (Developers)

posted by GizMo79, 06.12.2020, 17:33

> Hello RayeR,
>
> > There's mentioned
> > "gc3 compiles and runs under MS-DOS with Borland or Turbo C/C++ v3.x."
> > but I'm unable to correctly generate the secondary makefile. Not sure
> what
> > version of make should I use. Should I configure it under linux and then
> > switch to dos?
>
> Yeah, the rule for generating Makefile.2 in the main makefile seems to be
> borked...
>
> Makefile.2: site.def Makefile.gen
> -type site.def > Makefile.2
> -type Makefile.gen >> Makefile.2
> -cat site.def Makefile.gen > Makefile.2
>

> The first two commands are correct for MS-DOS, but unfortunately the third
> command basically destroys their good work and just leaves a "Bad command
> or file name" (or some such) in Makefile.2. Maybe for now, just manually
> do
>
> type site.def > Makefile.2
> type Makefile.gen >> Makefile.2
>

> (under DOS) then carry on with the
>
> make dos
>

> ?
>
> Thank you!


I'm trying to compile gc3 with turboc 2.01 simply with the command tcc -1 gc3.c the compilation goes on for a while without errors, then reports the lack of 2 files that are not actually present "gcsite.h" and "direct.h "

 

Complete thread:

Back to the forum
Board view  Mix view
22752 Postings in 2119 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum