From: mdruiter AT cs DOT vu DOT nl (Ruiter de M) Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP 2.01 to 2.72 conversion Date: 5 Jun 1998 13:39:44 GMT Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Lines: 40 Message-ID: <6l8sf0$384$1@star.cs.vu.nl> References: <35778687 DOT 1E93871E AT kiwi DOT gen DOT nz> NNTP-Posting-Host: sloep58.cs.vu.nl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk L T de La Haye (lance AT kiwi DOT gen DOT nz) wrote: > I am porting some C code, which was compiled under DJGPP 2.01 > originally. I am compiling it in 2.72 now, and it appears to run > fine. You are mixing version numbers. DJGPP is and was 2.01 (although there is a 2.02 alpha, but you don't want to knoe about that). GCC exists with version numbers like 2.7.2, 2.8.0 and 2.8.1. It seems like you have downgraded your compiler, GCC. > During the make I had some hassles with command line arguments though: > > -mpentium seemed to exist on 2.01 but not 2.72. GCC version 2.8.x has pentium support and knows about -mpentium. > The highest x86 supported on 2.72 seems to be -m486 Exact. > -Wno-sign-compare also seems to have disappeared. I can't find > the new equivalent. This one disables the > "Comparison between signed and unsigned" (or some such) warning. Because you have downgraded, it may seem this option has disappeared, but it really was new in 2.8.x i think. > Considering the program (MAME) compiles > with -Werrors (all warnings are errors - presently disabled) I > would like to resolve this one. I get about 100 of those > warnings during the make. I really don't want to have fix all > those. Most are pretty trivial. If you like it that much, maybe you should reinstall GCC 2.8.1. -- Groeten, Michel. http://www.cs.vu.nl/~mdruiter ____________ \ /====\ / "You know, Beavis, you need things that suck, \/ \/ to have things that are cool", Butt-Head.