[fpc-devel] adding x86_64-netbsd

2009-04-21 Thread Axel Scheepers
Hi List, I've been fiddling around adding netbsd x86_64 to fpc 2.2.4, I've got it to the point that I can compile both the rtl and the compiler but I'm having difficulties creating the prt0.as file(s). I can't link anything due to missing symbols; [...] Assembling pp Linking ./pp

[fpc-devel] Unexpexted result of FindFirst with 2.2.4

2009-04-21 Thread Stefan Kisdaroczi
Hi all, FindFirst from fpc 2.2.4 returns zero (file found) and an empty Name if I search for files in a empty directory. With fpc 2.2.2 FindFirst returns -1 as expected. Im using Debian Lenny (i386) and installed the 2.2.4 *.deb's from the freepascal ftp site. The following program is quiet

Re: [fpc-devel] adding x86_64-netbsd

2009-04-21 Thread Axel Scheepers
On Tue, 2009-04-21 at 05:15 -0700, Leonardo M. Ramé wrote: Axel, It was difficult to create the port to NetBSD? In my company we have several OpenBSD installs and it would be nice if we could run FPC apps on them. Leonardo M. Ramé http://leonardorame.blogspot.com Hi Leonardo, It's my

Re: [fpc-devel] adding x86_64-netbsd

2009-04-21 Thread Leonardo M . Ramé
That's great!, I'll try to compile it this week. Leonardo M. Ramé http://leonardorame.blogspot.com --- On Tue, 4/21/09, Axel Scheepers a...@axel.truedestiny.net wrote: From: Axel Scheepers a...@axel.truedestiny.net Subject: Re: [fpc-devel] adding x86_64-netbsd To: FPC developers' list

Re: [fpc-devel] adding x86_64-netbsd

2009-04-21 Thread Axel Scheepers
Oh, I also had to build a fpcmake beforehand (see fpcsrc/utils/fpcm/fpcmmain.pp) and did a find /path/to/toplevel/source/dir -name Makefile.fpc -exec /path/to/new/fpcmake -Tall {} \; I also had to cross build a binutils and put that in my $PATH. I have some spare time coming, I should take a