Sign in Join

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

Mailing lists / fpc-pascal / 2005-12

2.0.0 versus 2.0.2 - FreeBSD

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Ziegenhorn Tourism Database

Some weeks ago I switched from 1.0.x to 2.0.0.

Well, a lot of work to eleminate "oldlinux", but it works fine. I updated to 2.0.2 and something happend:

I have some cgi-programs for a virtual FreeBSD 4.7 Server. I compile under Linux (SuSE 8.2), tranfer the executable to FreeBSD and do a "brandelf -t Linux prog-name"

This works fine for 1.0.x, 2.0.0, but not for 2.0.2

The programs run very well on FreeBSD, do all things expected, but crash (with 2.0.2) at the end and produce a core-dump, "prog-name.core"

It's very hard to debug a program on a virtual Server thousand miles away. I suppose, that the last exit-routines have some incompatibilies with FreeBSD, or maybe it is a bug. Maybe this is a hint for the development team.

The download of older versions of fpc seems not
possible. :-( So I burn everything on a CD-ROM. ;-)

BTW: A great work, this compiler. The best programming- tool, you can get hands on.

Heinz Ziegenhorn

*************************************
Ziegenhorn Tourism Database
P.O. Box 16 45
76726 Germersheim, Germany
Tel: +49-7274-2759 Fax: +49-7274-3631
http://www.ziegenhorn.com
*************************************

Vincent Snijders
to Ziegenhorn Tourism Database
Ziegenhorn Tourism Database wrote
The download of older versions of fpc seems not possible. :-( So I burn everything on a CD-ROM. ;-)

You can download 1.0.10 from
ftp://ftp.de.freepascal.org/pub/fpc/olddist/1.0.10/

and 2.0.0 from ftp://ftp.de.freepascal.org/pub/fpc/dist/i386-freebsd-2.0.0/

What older versions are you looking for?

Vincent

Marco van de Voort
to Ziegenhorn Tourism Database: Some weeks ago I switched from 1.0.x to 2.0.0. Well, a lot of work to eleminate…
Show quoted text 17 lines
Well, a lot of work to eleminate "oldlinux", but it works fine. I updated to 2.0.2 and something happend: I have some cgi-programs for a virtual FreeBSD 4.7 Server. I compile under Linux (SuSE 8.2), tranfer the executable to FreeBSD and do a "brandelf -t Linux prog-name" This works fine for 1.0.x, 2.0.0, but not for 2.0.2 The programs run very well on FreeBSD, do all things expected, but crash (with 2.0.2) at the end and produce a core-dump, "prog-name.core" It's very hard to debug a program on a virtual Server thousand miles away. I suppose, that the last exit-routines have some incompatibilies with FreeBSD, or maybe it is a bug. Maybe this is a hint for the development team.

No idea. However try to substitute the "crt0.o" file of 2.0.2 with 2.0.0.

It could be that I did something extra with the 2.0.0 one to keep it 4.x compatible. Since then I have lost acces to the only 4.x system myself.

Marc Santhoff
to Ziegenhorn Tourism Database: Some weeks ago I switched from 1.0.x to 2.0.0. Well, a lot of work to eleminate…

Am Samstag, den 17.12.2005, 18:23 +0200 schrieb Ziegenhorn Tourism Database:

Show quoted text 10 lines
Some weeks ago I switched from 1.0.x to 2.0.0. Well, a lot of work to eleminate "oldlinux", but it works fine. I updated to 2.0.2 and something happend: I have some cgi-programs for a virtual FreeBSD 4.7 Server. I compile under Linux (SuSE 8.2), tranfer the executable to FreeBSD and do a "brandelf -t Linux prog-name" This works fine for 1.0.x, 2.0.0, but not for 2.0.2

Why not compile for FreeBSD directly? I'm using fpc 2.0.2 on FreeBSD 4.11 natively without problems.

One component that may cause the error is the linux translation layer of the target FreebSD system.

HTH,
Marc