www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/03/18/20:28:48

Date: Thu, 18 Mar 93 15:43:54 -0800
From: thinman AT netcom DOT com (Technically Sweet)
To: djgpp-announce AT sun DOT soe DOT clarkson DOT edu
Subject: DJGPP Cross-compiler for BSD386

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019