On Tue, 7 Oct 1997 00:46:49 +0200 (MEST) Peter Gerwinski peter@agnes.dida.physik.uni-essen.de wrote:
According to Christian Bockermann:
Does anyone know what to do ? I just downloaded the bpcompat-packet but the files don't compile under Linux. (I'm trying to get some of the units into a Linux-version)
That's a good thing! :-)
Agreed.
The problems you are having when compiling these Units under Linux come from the missing DPMI stuff and other DOS specifica. Under Linux, you have to use library functions and/or system calls instead.
I am working on an update to bpcompat (soon to be ready), which should compiler under Linux. The current version should compile of you define "__UNIX__" at the beginning of SYSTEM.PAS. This is one of the main things in the update - it will define "__UNIX__" automatically, for Linux, and SVR4.
I am compiling a "DEFINES.TXT" to record all the predefined things in various ports of GPC (generated by the GPC compiler for that platform). At the moment, I have the defines to DJGPP, EMX, CYGWIN32, Linux (Elf), Solaris, and Digitsl Alpha. If you have any more, please send them to me.
Best regards, The Chief Dr Abimbola A. Olowofoyeku (The African Chief, and the Great Elephant) Author of: Chief's Installer Pro v4.01 for Win16 and Win32. Homepage: http://ourworld.compuserve.com/homepages/African_Chief/ E-mail: laa12@keele.ac.uk