Mail Archives: djgpp/2001/01/16/12:01:13
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 -