Mail Archives: djgpp/2005/02/09/10:01:12
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f
|
X-Trace-PostClient-IP: | 68.147.129.203
|
From: | Brian Inglis <Brian DOT Inglis AT SystematicSW DOT Invalid>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Compile problem
|
Organization: | Systematic Software
|
Message-ID: | <tg8k01liujcrbhg8ovjobielvlo7b4b95a@4ax.com>
|
References: | <wrIJd.42$Bc7 DOT 36 AT newsfe3-win DOT ntli DOT net>
|
X-Newsreader: | Forte Agent 1.93/32.576 English (American)
|
MIME-Version: | 1.0
|
Lines: | 24
|
Date: | Wed, 09 Feb 2005 14:46:58 GMT
|
NNTP-Posting-Host: | 24.71.223.147
|
X-Complaints-To: | abuse AT shaw DOT ca
|
X-Trace: | pd7tw2no 1107960418 24.71.223.147 (Wed, 09 Feb 2005 07:46:58 MST)
|
NNTP-Posting-Date: | Wed, 09 Feb 2005 07:46:58 MST
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
On Wed, 26 Jan 2005 08:22:52 GMT in comp.os.msdos.djgpp, "Mike C"
<My DOT address AT end DOT of DOT post> wrote:
>Folks,
>
>I have a small compile issue: Running in a DOS window under W2000, if I
>compile using RHIDE, the resulting program runs fine on my PC, but, it
>seems, not on anybody else's. If I compile using
>
>gcc -Wall -O2 -o myprog.exe myprog.c
>
>then the program runs fine on other people's PC's.
What compiler options does RHIDE use, particularly -march=i?86, as
there was a similar problem when someone compiled for his newer CPU
version, and it wouldn't run on other's older CPUs.
If you always compile with -march=i386 (and optionally -mtune=pentium)
it should run on anything.
--
Thanks. Take care, Brian Inglis Calgary, Alberta, Canada
Brian DOT Inglis AT CSi DOT com (Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca)
fake address use address above to reply
- Raw text -