link problem with gpc beta

Frank Heckenbach frank at tim.gerwinski.de
Wed Dec 16 00:35:57 CET 1998


Ross Cartlidge wrote:

> I just compiled the version beta version of gpc with gcc 2.8.1.
> It compiled and installed fine but when I tried to compile a pascal
> program the following were undefined:-
> 
> `_p_gpc_locase'
> `_p_gpc_upcase'
> `_p_strlen'
> 
> 
> I couldnt find them in the source - where are they :-)

They should be in rts/gstrings.pas, and go into libgpc.a when
compiling GPC.

Which beta version exactly did you get, and are you sure you use
only files of the same version together (and not perhaps
unintentionally a previously installed libgpc.a)? This might apply
especially if you're using DJGPP where AFAIK there was a directory
restructuring recently.

When in doubt, you might want to remove all instances of libgpc.a
and install again.

Frank

--
Frank Heckenbach, frank at fjf.gnu.de
http://fjf.gnu.de/
PGP and GPG keys: http://fjf.gnu.de/plan




More information about the Gpc mailing list