Mail Archives: djgpp-workers/1999/03/03/16:21:53
Andris Pavenis wrote:
>
> On 2 Mar 99, at 15:23, DJ Delorie wrote:
>
> >
> > > Looking at the configure.in in egcs, I noticed just above *-pc-
> > > msdosdjgpp is *-msdos-go32. Would it be OK to delete the entries for
> > > *-msdos-go32 since *-pc-msdosdjgpp is the preferred triplet?
> >
> > No. You may issue a warning for those cases, though.
> >
> > The current official triplet is i586-pc-msdosdjgpp - it's the only one
> > that works right for both gcc and binutils.
> >
> > But, others may still be using other variants in specific cases.
> >
>
> I don't need target i[34567]-pc-go32. For me i[34567]-pc-msdosdjgpp is
> enough.
>
> config-guess detects DJGPP as i386-pc-msdosdjgpp for all
> i[3456]86. I override target (--target=i586-pc-msdosdjgpp) when I built egcs.
> One posible problem is that then compiler options defaults to
> -march=pentium -mcpu=pentium. It may seem to be dangerous but:
[snip]
I actually can't imagine any differences. I don't have a Pentium manual
here to check but AFAIK only a few instructions were added between 386
and Pentium, and I doubt GCC generates any of them:
invlpg (for system software only)
cmpxchg
cmpxchg8 (I envy the compiler that can use them)
cpuid (ha!!)
I also looked at the egcs 1.1.1 source in config/i386, and didn't see
any arch=pentium dependencies. So it looks like it's safe for current
versions.
Of course, that won't necessarily be true in the future.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -