X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Rod Pemberton" Newsgroups: comp.os.msdos.djgpp References: <43cbed4a_1 AT x-privat DOT org> <43cc0ae2_3 AT x-privat DOT org> <200601162127 DOT k0GLRpSm002776 AT envy DOT delorie DOT com> <43cc161e_3 AT x-privat DOT org> <43cc286a_1 AT x-privat DOT org> Subject: Re: Reading the TSC Lines: 39 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-IWN-Posted-By: [68.60.59.250] Mon Jan 16 17:08:20 2006 Message-ID: X-Complaints-To: abuse AT eli DOT net X-Trace: 52616e646f6d49563ff2ca8fb2819af7e92cc8c042c4cc9f8c2dc6e26e754e70598b11aba2e468cb10ab67caf1055cce6b5b73750ab37f63b9b05eff06ca7ca4733064a133e168826af5109125def7f87b7e257de5cb3b047e3153e5b9a755fe5c53de20621843c0ffef5d7a55e48b94fca9a0bd9806e7cca73e65f28584058ebe5d53aa9c37bdf81af118942b43de33 X-Abuse-Info: Please be sure to forward ALL headers so that we may process your complaint properly. NNTP-Posting-Date: Tue, 17 Jan 2006 00:17:42 UTC Date: Tue, 17 Jan 2006 00:20:46 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Cristiano" wrote in message news:43cc286a_1 AT x-privat DOT org... > Rod Pemberton wrote: > > "Cristiano" wrote in message > > news:43cc161e_3 AT x-privat DOT org... > >> DJ Delorie wrote: > >>> Try -march=486 > >> > >> I get: Invalid option 'arch=486'. :-( > >> > >> Cristiano > > > > -march=i486 > > I downloaded a more updated version from here: > http://www.delorie.com/djgpp/dl/ofc/ > but now I get: unrecognized option '--traditional-format'. > > Is it really impossible to compile that 4-line program? > > Cristiano Yes, if DJGPP is setup properly, it should compile easily. If I call the file 'tst.c': gcc -o tst.exe tst.c It shouldn't need '-march=i486' or '-mcpu=i486' ... Are the settings in DJGPP.ENV setup properly? How about the DOS variable 'DJGPP'? There should be a 'SET DJGPP=C:\DJGPP\DJGPP.ENV' or similar in your autoexec.bat. Do your DOS paths point to C:\DJGPP\BIN or similar? Rod Pemberton