[fpc-pascal]linker error

Matti Hamalainen mhamalai at ratol.fi
Wed Aug 1 13:26:37 CEST 2001


On Wed, 1 Aug 2001, Georgi Georgiev wrote:

> > > program ld_test;
> > >
> > > function sys_call(str:pchar):longint;
> > >  external 'libc' name 'system';
> > >
> > > begin
> > >  sys_call('ls');
> > > end.
> > >
> > > --------------------------------
> > 
> > Add a {$linklib c} at the top.
> 
> This line don't change anything !

You probably don't have the paths set right in the
configuration file.

It should be in /etc/ppc386.cfg.

=- ccr/TNSP^pWp
] mhamalai at ratol.fi | http://www.tnsp.org/
] Show me your "realtime raytracer in Java"
] and I'll show you my CBM 8032, 2 MHz!





More information about the fpc-pascal mailing list