Mail Archives: djgpp-workers/1999/03/03/06:53:20
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:
- as I have tested at least some Linux distributions does the same
(for example Slackware-3.5 and 3.6). So it there would be related problems
with 386 or 486 I'm sure they would be fixed.
- I have done some tests with my binaries on 386 and haven't found
related problems (compiler was built with such compiler so if we would
have problems with binaries on 386 it is likely that gcc should crash)
- Also djdev202 is built for such target when cross-compiling and seems that
also we don't have related problems
So it looks that it's still safe to use target i586-pc-msdosdjgpp. But of course
additional testing should be appreciated.
Andris
- Raw text -