More fun from everything that I write a program for an old MS-DOS machine. I use Linux (Fedora 19) as my development machine and OpenWatcom 1.9 to compile my code.
Now I would like to use FreeType (2.5.2) for my project, but I have problems using OpenWatcom. Execution make setup watcom, like the documentation suggestions, does not work; it still automatically detects the unix system:
$ make setup watcom
FreeType build system -- automatic system detection
The following settings are used:
platform unix
compiler cc
configuration directory ./builds/unix
configuration rules ./builds/unix/unix.mk
If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.
Otherwise, simply type `make' again to build the library,
or `make refdoc' to build the API reference (the latter needs python).
cd builds/unix; /bin/sh ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
...
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating ./config.status
config.status: creating unix-cc.mk
config.status: creating unix-def.mk
config.status: creating ftconfig.h
config.status: executing libtool commands
make: *** No rule to make target `watcom'. Stop.
Use ./configure --host=i286-pc-msdosalso does not change. The problem is that the FreeFype build system cross-compiles using GCC. Do I really need to configure the entire build environment inside DosBox, or convince FreeType to use OpenWatcom instead of GCC?
, . , DOS...