Simple hello world fails on freebsd

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Simple hello world fails on freebsd

A.J. Venter
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.

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Simple hello world fails on freebsd

A.J. Venter
Okay, feel free to ignore it, turns out my freebsd jail is on an amd-64 cpu,
not an i386.

A.J.
On Sunday 24 July 2005 00:35, A.J. Venter wrote:

> 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.
>
> _______________________________________________
> fpc-pascal maillist  -  [hidden email]
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal