[fpc-pascal]linker error

Jonas Maebe jonas at zeus.rug.ac.be
Wed Aug 1 10:46:35 CEST 2001


On dinsdag, juli 31, 2001, at 03:23 , 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.


Jonas




More information about the fpc-pascal mailing list