Mail Archives: djgpp/1998/06/05/10:15:20
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.
- Raw text -