[fpc-pascal] Simple hello world fails on freebsd

A.J. Venter ajventer at direq.org
Sun Jul 24 00:35:31 CEST 2005


Hi all, this is my first attempt at using freepascal on freebsd, 
I installed it from the tarball, installing everything, but I can't compile 
ANYTHING.

Below is the output from the compiler on a simple hello world program.

Free Pascal Compiler version 2.0.0 [2005/05/15] for i386
Copyright (c) 1993-2005 by Florian Klaempfl
Target OS: FreeBSD/ELF for i386
Compiling test.pas
Linking test
/usr/bin/ld: skipping 
incompatible /usr/local/lib/fpc/2.0.0/units/i386-freebsd/rtl/prt0.o when 
searching for /usr/local/lib/fpc/2.0.0/units/i386-freebsd/rtl/prt0.o
/usr/bin/ld: cannot 
find /usr/local/lib/fpc/2.0.0/units/i386-freebsd/rtl/prt0.o
test.pas(5,1) Error: Error while linking

Ciao
A.J.




More information about the fpc-pascal mailing list