www.delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | "Mike C" <My DOT address AT end DOT of DOT post> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Compile problem |
Lines: | 30 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 6.00.2800.1409 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1409 |
Message-ID: | <wrIJd.42$Bc7.36@newsfe3-win.ntli.net> |
Date: | Wed, 26 Jan 2005 08:22:52 GMT |
NNTP-Posting-Host: | 62.253.115.224 |
X-Complaints-To: | http://www.ntlworld.com/netreport |
X-Trace: | newsfe3-win.ntli.net 1106727772 62.253.115.224 (Wed, 26 Jan 2005 08:22:52 GMT) |
NNTP-Posting-Date: | Wed, 26 Jan 2005 08:22:52 GMT |
Organization: | ntl Cablemodem News Service |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
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. My program was originally all in one file, but it getting a bit unwieldy, so have split it into three files and made a project. The problem is that my "compile" line doesn't work any more - the linker can't find the extern references. Can you please tell me a) how to do it, and b) any reason why the program compiled by RHIDE won't run on other PC's? Many thanks, MikeC. -- WARNING: My e-mail return address is bogus to confuse the automated spam address gatherers. Mental decryption required: mike*e-col#ntlworld*com where * = 'dot' and # = 'at'
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |