Russell Whitaker wrote:
Starting with gpc-20030507.tar.gz gcc-3.2.2.tar.gz gcc-3.2.3.tar.gz
Building gpc with gcc-3.2.2 works just fine. Starting with annother copy of gpc*gz and gcc-3.2.3 the above patch gets me past the first problem. However, the build stops with:
make[1]: Circular libgcc.a <- pascal dependency dropped. /usr/local/src/gpc-20030507/gcc-3.2.3/gcc/p/rts/numtodec.pas:273: Internal compiler error in dwarf2out_finish, at dwarf2out.c:12228 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu-pascal.de/todo.html for instructions. make[2]: *** [numtodec.o] Error 1 make[1]: *** [pascal.rts] Error 2 make: *** [all-gcc] Error 2
Why do you expect and older GPC version to work with a new GCC version? The warning in config-lang.in is there for a reason.
Because gpc-20030507.tar.gz is the latest version I can find in directory www.gnu-pascal.de/alpha
Oh, you mean also gpc-20030507. When I read "another copy of gpc*gz", I thought you meant another (and then, of course, earlier) GPC release (because of the `*').
(BTW, GPC now allows to use the same source tree for building with different GCC versions if you symlink the `p' directory into each `gcc' directory.)
Frank