Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2005-07

Simple hello world fails on freebsd

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

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.

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

A.J. Venter wrote 24 lines
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 - http://lists.freepascal.org/mailman/listinfo/fpc-pascal