delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/16/12:01:13

From: pavenis AT lanet DOT lv
To: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>, djgpp AT delorie DOT com
Date: Tue, 16 Jan 2001 18:55:11 +0200
MIME-Version: 1.0
Subject: Re: DJGPP & LINUX
Message-ID: <3A64990F.12767.43EFEC@localhost>
In-reply-to: <941nf7$l37$1@nets3.rz.RWTH-Aachen.DE>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 16 Jan 2001, at 14:56, Hans-Bernhard Broeker wrote:

> Waldemar Schultz <schultz AT ma DOT tum DOT de> wrote:
> 
> > Up to know I do my programming in a W98-DOS-box and in plain DOS
> > 6.22.  Now the questions: What steps should I do to get all my DJGPP
> > stuff (C C++ GRX Allegro Math p2c ...)  usable and maintainable
> > under LINUX? Is there something like DJ's zip picker for LINUX
> > executables? Must I rebuild the whole thing from sources (and how)?
> 
> Probably yes. There used to be a package of DJGPP-targeting tools
> (i.e.  gcc and binutils) to run on linux, but this was a long way
> back. I don't think it's still being maintained at all.

There is no serious problems to build DJGPP targetted binutils and
gcc for Linux. At least it's so with gcc-2.95.X and any recent enough 
binutils version (including development ones from CVS). But of 
course this all is not for beginners.

If one really needs Linux to DJGPP cross-binutils and cross-compiler 
I can post URL's  for my binaries (in form of Slackware packages,
no RPMs, glibc-2.1 or newer required)

> You'ld have to build your own cross-binutils, your own cross-gcc, and
> install the 'djcrx203.zip' (not necessarily all in exactly that order,
> though). Then, after some more fiddling, you can compile DJGPP
> programs from the Linux prompt.
> 
> Prebuilt Makefiles like the one for Allegro may be too DOS-centric to
> work on Linux. 

I'm not sure Allegro makefiles will work with cross-development tools
(but I haven't tried ...)

> Summing it up: this definitely is not a task for a Linux newbie, I'd
> say. You'll be better off running your DJGPP installation inside
> DOSEMU, instead.

Andris

- Raw text -


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