After fixing the first error, I'm getting:
-------------------------------------------------------------------
C:\FREEDOS\EMM386\SOURCE\EMM386>d:\alt\tc201\make
MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International
Available memory 563902 bytes
d:\alt\tc201\tcc -G- -w -r -N- -O -Z -k- -g1 -c emm386c.c
Turbo C Version 2.01 Copyright (c) 1987, 1988 Borland International
emm386c.c:
Warning emm386c.c 801: 'preallocate' declared but never used in function XMSallo
cAndInitMem
Error emm386c.c 801: Too many error or warning messages in function XMSallocAndI
nitMem
*** 1 errors in Compile ***
Available memory 336754
** error 1 ** deleting emm386c.obj
---------------------------------------------------------------------
Ok, then I fix the "preallocate" issue, what do I get then:
---------------------------------------------------------------------
C:\FREEDOS\EMM386\SOURCE\EMM386>d:\alt\tc201\make
MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International
Available memory 554446 bytes
d:\alt\tc201\tcc -G- -w -r -N- -O -Z -k- -g1 -c emm386c.c
Turbo C Version 2.01 Copyright (c) 1987, 1988 Borland International
emm386c.c:
Warning emm386c.c 1309: Call to function 'emmcall' with no prototype in function
finishing_touches
Error emm386c.c 1309: Too many error or warning messages in function finishing_t
ouches
*** 1 errors in Compile ***
Available memory 316256
---------------------------------------------------------------------
Ok, I fix the "emmcall" issue, what next:
---------------------------------------------------------------------
Turbo C Version 2.01 Copyright (c) 1987, 1988 Borland International
prf.c:
Available memory 346304
d:\alt\tc201\tcc -G- -w -r -N- -O -Z -k- -g1 -c useful.c
Turbo C Version 2.01 Copyright (c) 1987, 1988 Borland International
useful.c:
Warning useful.c 139: Code has no effect in function GetValue
Error useful.c 139: Too many error or warning messages in function GetValue
*** 1 errors in Compile ***
---------------------------------------------------------------------
That's better, since emm386c.c has been compiled now without errors,
so I'm happily fixing this one (which is not that trivial anymore):
---------------------------------------------------------------------
MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International
Available memory 573297 bytes
d:\alt\tc201\tcc -G- -w -r -N- -O -Z -k- -g1 -Ld:\alt\tc201\lib
-Id:\alt
\tc201\include emmtest.c
Turbo C Version 2.01 Copyright (c) 1987, 1988 Borland International
emmtest.c:
Error emmtest.c 4: Unable to open include file 'stdio.h'
Error emmtest.c 4: Too many error or warning messages
*** 1 errors in Compile ***
Available memory 386908
---------------------------------------------------------------------
Ok, next file. I add -Id:\alt\tc201 to the TCC cmdline option:
---------------------------------------------------------------------
MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International
Available memory 563794 bytes
d:\alt\tc201\tcc -G- -w -r -N- -O -Z -k- -g1 -Id:\alt\tc201
-Ld:\alt\tc2
01\lib -Id:\alt\tc201\include emmtest.c
Turbo C Version 2.01 Copyright (c) 1987, 1988 Borland International
emmtest.c:
Turbo Link Version 2.0 Copyright (c) 1987, 1988 Borland International
c0s.obj : unable to open file
Available memory 335696
** error 1 ** deleting emmtest.exe
---------------------------------------------------------------------
ways better now, just a linker error remains. But TLINK from TCC 2.01 has
no /L and /j options, I switch to a newer TLINK. After some fiddling I got a
emmtest.exe. Now the next step:
---------------------------------------------------------------------
MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International
Available memory 554207 bytes
d:\alt\tc201\tcc -G- -w -r -N- -O -Z -k- -g1 -Id:\alt\tc201 -c
-Ld:\alt\
tc201 -Id:\alt\tc201 emmtest.c
Turbo C Version 2.01 Copyright (c) 1987, 1988 Borland International
emmtest.c:
Available memory 326220
c:\div\tlink -Ld:\alt\tc201 -jd:\alt\tc201 emmtest.obj c0s.obj,,,cs.lib
Turbo Link Version 7.1.30.1. Copyright (c) 1987, 1996 Borland International
Fatal: 'himem.asm' does not exist - don't know how to make it
---------------------------------------------------------------------
Make's right, there is no himem.asm, just a himem64.asm ... how could this
possibly be?
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel