Hi all, Trying to install gpc version 20030830 I ran into a problem with ld. Singling out the problem I have the following (trivial :-) pascal program t.p. The log shows all, I hope. including or excluding the line `uses gpc;' does not change the result. I do not know if I have to set things correct for ld, or that the system-wide install of gpc (version 20030507) interferes with my user-install in /cluster3/deruiter/system/bin Anyways, I do not get an executable, and all help is welcome. Please ask if information is missing Regards, Marten Jan /cluster3/deruiter 87 % cat t.p program t; uses gpc; begin writeln('hello world'); end. /cluster3/deruiter 88 % gpc --automake t.p -o t /tmp/cct9af9n.o: In function `main': /tmp/cct9af9n.o(.text+0x85): undefined reference to `__GPC_RTS_VERSION_20030830__' collect2: ld returned 1 exit status /cluster3/deruiter 89 % which gpc /cluster3/deruiter/system/bin/gpc /cluster3/deruiter 90 % gpc --version gpc 20030830, based on gcc-3.2.1 Copyright (C) 1987-2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. /cluster3/deruiter 91 % gcc --version gcc (GCC) 3.2.1 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. /cluster3/deruiter 92 % which gcc /cluster3/deruiter/system/bin/gcc /cluster3/deruiter 93 % gpc -print-file-name=libgpc.a /cluster3/deruiter/system/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libgpc.a /cluster3/deruiter 94 % grep __GPC_RTS_VERSION_20030830__ `gpc -print-file-name=libgpc.a` Binary file /cluster3/deruiter/system/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libgpc.a matches
participants (2)
-
Marten Jan de Ruiter -
Waldek Hebisch