Re: Compiling FreeCom

Bart Oldeman <[email protected]>
Newsgroups gmane.os.freedos.devel
Message-ID <[email protected]>
On Mon, 14 Oct 2002, Alain wrote:

> > Warning compfile.c 56: Call to function 'dfnfilename' with no prototype in
>
> I had to copy 'dfn.h' to the include directory.

Right. I did that too.

> The source file says:
>
> #include <dfn.h>

-- and some other places say
#include "../include/dfn.h"

Parts of FreeCOM think of dfn.h as a system header and other parts as a
user header. This is, well, inconsistent ;-)

> This is probably a bug, but I am not sure ;-)

there is a bug somewhere, else you would not need to copy. It can be
solved in multiple ways though; copying is just the quickest solution.

Below is my short "how to compile freecom using Turbo C++ 1.01 howto"
I posted to someone privately a few weeks ago. Note: from *scratch*.

Bart

About FreeCOM - here's how I got it to compile now from scratch:

download com083beta44.zip, unpack
download the binary suppl.zip for Turbo C++ -- I never tried to
compile suppl itself, unpack in the SUPPL directory.

use Turbo C++ 1.01 from the Borland museum.

adjust first part of config.mak -- for me:

-----------
## is the base path ("root") of Turbo C++ v1.01
CC_BASE_PATH = C:\TCPP

## Where the pre-compiled SUPPL files are located
## See DOCS\SUPPL.TXT for more information about this library
SUPPL_INC_PATH = D:\SOURCE\FREECOM\SUPPL
-----------

copy suppl\dfn.h include
build
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.