Article View: gnu.gcc.help
Article #53540Re: Cross compiling using gcc on DOS to 68000
From: DJ Delorie
Date: Thu, 17 Oct 1991 13:28
Date: Thu, 17 Oct 1991 13:28
85 lines
4351 bytes
4351 bytes
In article <2693.9110161436@roc.eurotherm.co.uk>, mt00@eurotherm.co.UK (Martin Tomes) writes:
> I know that gcc will run under a 386 extender (the djgpp version?), if
> there is no hope of running on a 286 could this version be changed to
> generate 68000 code?
Gcc (and g++) can be compiled with djgpp to produce a 386 executable
that creates any other kind of exeutable. You'll have to rebuild the
assembler and linker to conform to the platform, but that's a standard
cross compiler issue. The only dos-ism you really have to worry about
it the text-vs-binary problem, which is quite easily handled. Most of
the changes I did in djgpp were to handle (1) dos spawn vs unix
fork/exec, and (2) the use of environment variables to specify paths.
Neither of these are really required for a cross compiler.
In any case, a 386 is required, and an extender is provided.
DJ
dj@ctron.com
Life is a banana.
---
--- DJGPP - G++ for MSDOS/386 ---
Summary: djgpp is a port of the GNU gcc/g++ compiler to the 386/DOS
platform. The compiler and programs it generates run in the 386's
32-bit mode, with full virtual memory support. Various libraries and
utilities are provided also.
System requirements: 80386, 512K memory
Supports: 80387, Extended memory (up to 128M), XMS, VGA, SuperVGA,
paging to disk (up to 128M), VCPI.
djgpp has been uploaded to:
grape.ecs.clarkson.edu 128.153.28.129 FTP pub/msdos/djgpp
For convenience to non-FTP users, I have also uploaded it to:
sun.soe.clarkson.edu 128.153.12.3 MAIL pub/msdos/djgpp
Sun.soe.clarkson.edu has an archive server that can mail you the
files. To get help on the archive server, send mail to
archive-server@sun.soe.clarkson.edu, with the word "help" as the
message (not subject). The archive name is msdos/djgpp.
NOTE: Clarkson is currently reqrranging their services, so in the near
future grape.ecs and sun.soe will be merged into another machine which
will provide all services. The name 'grape.ecs' will still work, but
you'll get a different machine.
Current version: patch level #5
total 6139
-rw-rw-r-- 1 delorie 966 Jul 22 11:17 Index
-rw-rw-rw- 1 delorie 2413133 Sep 16 14:16 djgpp.zip
-rw-rw-r-- 1 delorie 294912 Sep 16 14:16 djgppzip.000
-rw-rw-r-- 1 delorie 294912 Sep 16 14:16 djgppzip.001
-rw-rw-r-- 1 delorie 294912 Sep 16 14:16 djgppzip.002
-rw-rw-r-- 1 delorie 294912 Sep 16 14:16 djgppzip.003
-rw-rw-r-- 1 delorie 294912 Sep 16 14:16 djgppzip.004
-rw-rw-r-- 1 delorie 294912 Sep 16 14:16 djgppzip.005
-rw-rw-r-- 1 delorie 294912 Sep 16 14:16 djgppzip.006
-rw-rw-r-- 1 delorie 294912 Sep 16 14:16 djgppzip.007
-rw-rw-r-- 1 delorie 53837 Sep 16 14:16 djgppzip.008
-rw-rw-r-- 1 delorie 976 Sep 16 14:16 merge.c
-rw-rw-r-- 1 delorie 6924 Sep 16 14:16 merge.exe
-rw-rw-r-- 1 delorie 677705 Jul 22 11:13 patch4.zip
-rw-rw-rw- 1 delorie 630868 Sep 16 14:16 patch5.zip
-rw-rw-r-- 1 delorie 1254 Jul 22 11:13 patches4.doc
-rw-rw-r-- 1 delorie 25098 Sep 16 14:16 readme
-rw-rw-r-- 1 delorie 1244 Sep 16 14:16 split.c
-rw-rw-r-- 1 delorie 7474 Sep 16 14:16 split.exe
Note that the split files are multiples of 16384 bytes. This is so
that file transfer utilities that require multiples of some power of
two will work properly with hte merge utility. To reconstruct the
whole from the split files, use "merge djgppzip djgpp.zip".
Please do not ask me to make this available anywhere other than
grape.ecs or sun.soe. If you'd like it available elsewhere, contact
that site's administrator and ask them to transfer it.
DJ
dj@ctron.com
Technical Details
Message-ID:
<2380@balrog.ctron.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!samsung!balrog!ctron.comReferences:
<2693.9110161436@roc.eurotherm.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,2a6f38c20e748139 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1991-10-21 20:41:21 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!samsung!balrog!ctron.com From: dj@ctron.com (DJ Delorie) Newsgroups: gnu.gcc.help Subject: Re: Cross compiling using gcc on DOS to 68000 Message-ID: <2380@balrog.ctron.com> Date: 17 Oct 91 13:28:32 GMT References: <2693.9110161436@roc.eurotherm.co.uk> Sender: news@balrog.ctron.com Reply-To: dj@ctron.com Distribution: gnu Organization: None whatsoever Lines: 85 Nntp-Posting-Host: bragi