Mail Archives: djgpp/2003/04/12/20:00:38
>I'm trying to build a gcc 3.2.2 linux to dos crosscompiler (using 2.04
>alpha, but that's not really relevant here). I'm using gcc322s2.zip. The
>unpack_gcc script doesn't seem to work for me due to autoconf trouble. The
>major part of gcc requires autoconf 2.13. This is upgraded to 2.5 for gcc
>HEAD, but didn't get into 3.2.2. The libstdc++-v3 needs 2.52 however, and
>autoconf will abort if 2.13 is used.
I used Autoconf 2.57 for building GCC 3.2.2 that you downloaded. I
also used automake 1.7.3.
>The usual tip on the gcc mailing list is not to attempt recreating the
>configures, but that doesn't work here since the configure.ins are patched
>by gcc322s2.zip. Some questions:
>
>- Why are all the patches in gcc322s2.zip required? I thought all
>modifications required for djgpp were merged into gcc mainline ages ago..?
Andris would have to answer this one, but bugs are found by Andris and
others in the DJGPP porting after the official GCC release is done and
as such a patch needs to be done.
>- How could this script have worked for others, if 2 autoconf versions are
>required. Am I missing something (again)?
I suspect that the docs have not been updated. A guess only. Try using
autoconf 2.57 and automake 1.7.3.
>Main reason for compiling the thing myself is that I want to install it in a
>different place.
>
>Even when using autoconf 2.13 there's a problem: (unpack output)
SNIP...
Check which versions of automake, autoconf, m4 you are using. On WIN
XP I use the following to do the build that you downloaded:-
automake 1.7.3 (from 22-Feb-2003)
autoconf 2.57 (just updated to srcv from 27-Mar-2003)
M4 1.4 (latest DJGPP version from 8-Jan-2003)
These dates may be when I downlaoded them, so take of a few days/week
to get an idea of the date of the files on Simtel)
BTW Did you searh the DJGPP mailing list archive as there was allot of
discussion in this newsgroup last year about getting DJGPP cross
compiling on Linux and the developer who did it wrote up a doc and has
it available for download.
Andrew
- Raw text -