www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/2000/01/06/15:08:25

From: Administrator AT XYLUM DOT CCMAIL DOT compuserve DOT com
Date: Thu, 6 Jan 2000 08:33:33 -0500
Subject: Message not deliverable
Sender: Administrator AT XYLUM DOT CCMAIL DOT compuserve DOT com
To: "INTERNET:pgcc AT delorie DOT com" <pgcc AT delorie DOT com>
Message-ID: <200001060834_MC2-9383-52A1@compuserve.com>
MIME-Version: 1.0
Reply-To: pgcc AT delorie DOT com

This is a MIME-encapsulated message

--aa2ee3d8-c439-11d3-bd6c-00805fbe1e57
Content-Type: text/plain;
	 charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

----------------------------------- Forwarded ----------------------------------
From: INTERNET:pgcc AT delorie DOT com at CSERVE
Date: Sat Jan 01 17:01:01 2000
To: INTERNET:pgcc AT delorie DOT com at CSERVE
Subject: Re: pgcc win32 compiler
--------------------------------------------------------------------------------

--aa2ee3d8-c439-11d3-bd6c-00805fbe1e57
Content-Type: text/plain;
	 charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Sender: dj-admin AT delorie DOT com
Received: from delorie.com (delorie.com [207.22.48.162])
	by spamgaaf.compuserve.com (8.9.3/8.9.3/SUN-1.7) with ESMTP id SAA28922
	for <Pei-Ying_Hsieh AT Xylum DOT CCMAIL DOT compuserve DOT com>; Wed, 5 Jan 2000 18:53:59
-0500 (EST)
Received: (from daemon AT localhost)
	by delorie.com (8.9.1/8.9.1) id PAA24980
	for pgcc-list; Wed, 5 Jan 2000 15:46:52 -0500
Received: from oak.oakland.edu (root AT localhost)
	by delorie.com (8.9.1/8.9.1) with SMTP id PAA24976
	for <pgcc AT delorie DOT com>; Wed, 5 Jan 2000 15:46:49 -0500
Received: from oak.oakland.edu ( [141.210.10.117])
	by delorie.com (antispam)
Received: from lycosmail.com (hol-ppp13.triton.net [209.172.3.13]) by
oak.oakland.edu (8.8.5/8.7.4-jdm) with ESMTP id PAA10536 for <pgcc AT delorie DOT com>;
Wed, 5 Jan 2000 15:49:20 -0500 (EST)
Message-ID: <3873AE46 DOT C3C56445 AT lycosmail DOT com>
Date: Wed, 05 Jan 2000 15:49:10 -0500
From: Adam Schrotenboer <ajschrotenboer AT lycosmail DOT com>
X-Mailer: Mozilla 4.7 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: pgcc AT delorie DOT com
Subject: Re: pgcc win32 compiler
References: <NDBBKJMIILFADCIPPHFDOEIMCAAA DOT tal AT surf DOT co DOT il>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: pgcc AT delorie DOT com
X-Mailing-List: pgcc AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com
Precedence: bulk

 
Are you trying to make a cross-compiler? Windoze uses a variant on COFF
(IIRC), called PE.

Which executable format is dependent on your linker and (I think) your
assembler (Unless the assembler and compiler are one, like I think is
the case with Borland Turbo C++ 3.0).

DJGPP uses COFF, though it might have once used a.out. A debate is
raging at present(or at least it was for a while. Besides, the argument
recurs every once in a while) about switching to something like PE
(rejected b/c the goal of DJGPP is not to be more windoze like, and
probably more importantly b/c it's nothing more than a variant on COFF,
so what's the advantage?), or ELF (mostly rejected b/c of backwards
compatibility, i.e. many utilities and libraries rely on the object
format being COFF).

Anyway, maybe cygwin, though I think that it is not PGCC, but rather
either EGCS/GCC 2.9*, or the old gcc-2.7.2.3, or maybe none of the
above. AFAIK most Unix libraries can be compiled on cygwin, though
obviously some platform specific code has to be changed, and IIRC it has
it's own runtime lib, like libc. Mingw32, similar to cygwin, doesn't
require one of the runtime libs, and some prefer it. I have not used
either one, mostly using EGCS/GCC & PGCC on DOS, and I'm looking at
doing stuff on Linux (Haven't found a good IDE yet. For DJGPP, I use
RHIDE, but the linux port is not very good yet, and everybody's waiting
for RHIDE 1.5, which will hopefully fix this).

Sorry about the disconnectedness and the run-on sentences and all, this
is mostly all of the top of my head, and I really haven't been reading
the DJGPP list much for the last 6 months or so, plus the fact that
aparrently Netscape decided that my DJGPP folder was too big, and it
more or less bit the dust, I have ~500 messages from approx 18,000
messages, and I have now started another DJGPP list folder, and intend
to also make another Allegro list folder before that one gets too big
[Be warned, if the file gets too big, Netscape can crash, and you can
lose the contents of the folder {In fact, I'm going to do that right
now])

Hope this all helps, BTW, why do you want a.out???

Another q, if it's for a cross compiler, I should warn that it is very
difficult, primarily b/c you have to find all the right programs, or
find out how to DIY. Also, DJGPP is not the best platform for
cross-compiles. i.e. if you had a cross compiler from DJGPP to
Linux/ELF, I still wouldn't suggest compiling the Linux kernel w/ it.
Grab a precompiled binary from a good distro, get a decent compiler
(from same distro), and then compile your own kernel on Linux Native.

For most practical purposes, the only _really_ _good_ reason to
cross-compile is for embedded systems like the i960, or similar, where
compiling native is near to impossible.

But also a sidenote, I'm not sure, but I think DJ either used to, or
maybe still does, cross compile the DJGPP binaries, libs, etc from
Ultrix/i386.

DJGPP is a good development platform, but porting to DJGPP is really
difficult. Often MS-DOS is referred to as MS-DOG b/c of this. But you
have to hand it to DJ, for pulling off this kind of project, which many,
even Stallman (IIRC) said would be near to impossible.

Windoze 95/98 has actually been a help in this, for LFNs, and some stuff
like this, but he started back w/ Win 3.1. I find it hard to believe
that I'm actually saying the Windoze is good, but maybe I'll let myself
get away w/ it this time.

Tal Shachar wrote:

> hi all!
>
> Is there pgcc compiler running on win32 with a.out format??
>
> Regards,
>
> Tal Shahar
> Surf Communication Solutions Ltd.
> Tel: +972-4-9990070 ext. 136
> Fax:+972-4-9990072
> E-mail: tal AT surf DOT co DOT il
>

--aa2ee3d8-c439-11d3-bd6c-00805fbe1e57--

- Raw text -


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