> I'm a begginer in linux programming and I got some problems while trying to
> mix pascal and gcc code...
>
> On the pascal side i wrote the following file:
> ----------- teste.pas---------------
> {$LINK testec.o}
add
{$LINKLIB c}
reason: printf is in the libc library which is linked by the linklib
command.