Mail Archives: djgpp-workers/2003/06/11/01:16:22
Eli Zaretskii wrote:
>
> > Date: Tue, 10 Jun 2003 18:18:26 -0400
> > From: CBFalconer <cbfalconer AT yahoo DOT com>
> > >
> > > Try:
> > >
> > > gcc @c:/some/path/gcc.opt <other-options>
> >
> > That produces a herd of problems, mostly due to the -nostdinc. I
> > see no point to this.
>
... snip ...
>
> > After deleting that what remains is the
> > following:
> >
> > `-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
> > cc1.exe: warnings being treated as errors
> > cc1.exe: warning: -malign-loops is obsolete, use -falign-loops
>
> You should use gcc.opt from the CVS, it should already solve these
> warnings.
I just changed the options here.
>
> > nmalloc.c:856: warning: passing arg 1 of `badcallabort' discards
> > qualifiers from pointer target type
> > nmalloc.c:968: warning: traditional C lacks a separate namespace
> > for labels, identifier `exit' conflicts
changed exit to exeunt, and made the parm "const char*". All
warnings gone. Result, with those minor changes, is mounted at:
<http://cbfalconer.home.att.net/download/nmalloc.zip>
with a date of 2003-6-11.
--
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!
- Raw text -