Subj : Compiling ``slib'' w/Watcom To : All From : Serguei Trouchelle Date : Sat Nov 15 2003 01:12 am Used: OpenWatcom 1.1 UnxUtils (w/GNU Make version 3.78.1) Windows 2000 SP4 First problem is unability to correctly execute sh ./configure, it has nested sh executions, based on #! method, which doesn't work under WinNT environments. So, I have to write own vars_windowsnt.mk Using ./configuration-test/make.sh with 3.78.1 cause some problems too, it can understand only 3.## By the way, using uname to determinte target platform is wrong. For example, Watcom can successfully compile OS/2 target under WinNT environment and vice versa. So I think original Lanius methods with $(COMP), $(MODE) etc was a good idea. Second problem is vars.mk file. It is very unportable. I think all variables, specific for GCC or UNIX have to be tranferred to vars_gcc.mk or stuff. For example, see line CPPFLAGS = -DUNIX $(EXTRA_CPPFLAGS) $(INCLUDES) $(EXTRA_INCLUDES) ^^^^^^ I don't think it is a good idea to write this in main module :) Next. ./slib/Makefile It has hard-coded ``gcc'' lines. I think it is a very bad idea... Compiling smserial.c must be used only for OS/2 and UNIX, no need to compile it for DOS/D386/NT platforms. [to be continued...] Serguei Trouchelle --- timEd/386 1.10.y2k+ * Origin: Send more complaints! (2:550/4077.101) .