delorie.com/djgpp/faq/cross/irix-to-dos.html   search  
Irix to DOS (Marc B. Reynolds)

Xref: news-dnh.mv.net comp.os.msdos.djgpp:280
Newsgroups: comp.os.msdos.djgpp
Path: news-dnh.mv.net!mv!news.sprintlink.net!noc.netcom.net!ix.netcom.com!netcom.com!mreynold
From: mreynold@netcom.com (Marc B. Reynolds)
Subject: Re: Please help... (Xcompiler for DJGPP)
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
References: <3r7i2p$l3d@npc.ece.utexas.edu> <D9vLpH.6w7@jade.mv.net>
Date: Fri, 9 Jun 1995 19:32:44 GMT
Lines: 40
Sender: mreynold@netcom6.netcom.com
To: djgpp@sun.soe.clarkson.edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

DISCLAIMER:  I'm totally ignorant about DJGPP V2, but this is how
I built by x-complier.

1) In binutil-2.5.2 did:

  ./configure --build=<my_machine> --target=i386-coff-go32
  make
  make install

2) Copyed all the DJGPP libraries and headers into
   /usr/local/i386-coff-go32/include and lib respectively.
  Ran a script to remove all the ^M's from the headers.

3) Downloaded the patch from ftp.cygnus.com//pub/embedded
   crossgcc-2.6.3.patch.gz (which uncompresses to
   crossgcc-2.6.1.patch, FYI).  Applied the patch.

   ./configure --build=<my_machine> --target=i386-coff-go32

   Edited enquire.c, changing all occurances of setmode to
   SetMode (had a name confict, and I decided to go the
   easy route)

   make LANGUAGES=c 
   make install


Everthing seems to work fine.  I haven't compiled up coff2exe
yet..but everything else I do on my SGI.  Very cool


Cheers,
Marc Reynolds


-- 
-------------------------------------------------------------------------------
  Marc B. Reynolds                                           W: (510) 814-6384 
  mreynold@netcom.com                                        
  (No NeXT-mail)
-------------------------------------------------------------------------------


  webmaster     delorie software   privacy  
  Copyright © 1995     Updated Jun 1995