I used the patch gcc-4.1-5.diff on gcc-4.1.1, and a simple
gpc-build % ../gcc-4.1.1/configure --enable-languages=pascal gpc-build % make
... on Linux Debian sarge box.
It breaks like this. Rerunning make gives this:
mtodorov@domac:~/pascal/gpc20060325@gcc-4.1.1-build$ make make[1]: Entering directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build' make[2]: Entering directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/libiberty' make[3]: Entering directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/libiberty/testsuite' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/libiberty/testsuite' make[2]: Leaving directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/libiberty' make[2]: Entering directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/fixincludes' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/fixincludes' make[2]: Entering directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/intl' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/intl' make[2]: Entering directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/build-i686-pc-linux-gnu/libiberty' make[3]: Entering directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/build-i686-pc-linux-gnu/libiberty/testsuite' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/build-i686-pc-linux-gnu/libiberty/testsuite' make[2]: Leaving directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/build-i686-pc-linux-gnu/libiberty' make[2]: Entering directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/build-i686-pc-linux-gnu/fixincludes' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/build-i686-pc-linux-gnu/fixincludes' make[2]: Entering directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/libcpp' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/libcpp' make[2]: Entering directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/gcc' gcc -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition-Wmissing-format-attribute -DHAVE_CONFIG_H -o xgpc p/gpc.o prefix.o version.o \ ../libcpp/libcpp.a ../libiberty/libiberty.a p/gpc.o(.text+0xab30): In function `main': ../../gcc-4.1.1/gcc/p/gpc.c:6941: undefined reference to `gcc_init_libintl' collect2: ld returned 1 exit status make[2]: *** [xgpc] Error 1 make[2]: Leaving directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/gcc' make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build' make: *** [all] Error 2 mtodorov@domac:~/pascal/gpc20060325@gcc-4.1.1-build$
Any advice?
Thanks.
Regards, Mirsad
"Be conservative in what you do, be liberal in what you accept from others." -- Jon Postel