Mail Archives: djgpp/1993/03/18/20:28:48
Now you can cross-compile DJGPP programs on 386BSD.
Get ftp.math.niu.edu:pub/msdos/djgpp.stuff/contrib/djgcross.tar.Z
and unpack it on your 386BSD machine. You also need djdev109.zip
and optional libraries. All you do is: edit djgcc.sh and tell
it where you've put the DJGPP include files and libraries.
Now, just 'djgcc.sh hello.c -o hello' gives you a binary
you can transport to DOS. Then, 'go32 hello' does the trick.
386BSD uses the same C compiler and binary format for .o files
as DJGPP. Only the loader is different. Oh, and don't use
ranlib on cross-libraries.
I have Scheme->C and a crude VOGL driver running with this
package.
--
Lance Norskog
thinman AT netcom DOT com
Data is not information is not knowledge is not wisdom.
- Raw text -