Re: [fpc-devel] fpc2.3.1 with uclibc 0.9.29 can work now.It seems fpc can't load uclibc share library correctly.

2008-05-19 Thread 开心
I guess it's the one from packages/pthreads/src ^:-)Copy packages/pthreads/src pthrlinux.inc to rtl/linux,and do some minor change in cthreads.pp. cthreads.pp Description: Binary data ___ fpc-devel maillist - fpc-dev

Re: [fpc-devel] Big patch to setup an haiku target in fpc

2008-05-19 Thread Florian Klaempfl
Florian Klaempfl schrieb: Olivier Coursière schrieb: Hi, Since Haiku has now its own gcc target, i think it is time to add an haiku target to fpc. At least, fpc need to set the right target in the linker script to compile under Haiku. This new target will enable specific improvement in the

Re: [fpc-devel] Big patch to setup an haiku target in fpc

2008-05-19 Thread Florian Klaempfl
Olivier Coursière schrieb: Hi, Since Haiku has now its own gcc target, i think it is time to add an haiku target to fpc. At least, fpc need to set the right target in the linker script to compile under Haiku. This new target will enable specific improvement in the future like threading supp

Re: [fpc-devel] OS/2 build failure

2008-05-19 Thread Marco van de Voort
> On Mon, May 19, 2008 17:30, Marco van de Voort wrote: > > > > Speaking of OS/2, can sb quick-look at the FAQ page ( > > http://www.hu.freepascal.org/faq.var ) to see if the 1.0.6 stuff can be > > moved to the wiki ? > > Not sure if I understand the question properly, but if you want to cleanup >

Re: [fpc-devel] OS/2 build failure

2008-05-19 Thread Tomas Hajny
On Mon, May 19, 2008 17:30, Marco van de Voort wrote: >> On Wed, 14 May 2008 23:32:04 +0200 (CEST), Tomas Hajny wrote: >> > > The last known good build I have is from 3rd. Jan but I think >> > > it was ok in Feb also. I build about once a month but don't >> > > always do an install. >> > > I've loo

Re: [fpc-devel] OS/2 build failure

2008-05-19 Thread Marco van de Voort
> On Wed, 14 May 2008 23:32:04 +0200 (CEST), Tomas Hajny wrote: > > > The last known good build I have is from 3rd. Jan but I think > > > it was ok in Feb also. I build about once a month but don't > > > always do an install. > > > I've looked at the change history for all the files which seem > >

Re: [fpc-devel] OS/2 build failure

2008-05-19 Thread Dave Parsons
On Wed, 14 May 2008 23:32:04 +0200 (CEST), Tomas Hajny wrote: > On Tue, May 13, 2008 09:05, Dave Parsons wrote: > > Hi, > > > > For a while now I've been getting the following error when > > building from svn (2.3.1 from 20 mins ago). > > The last known good build I have is from 3rd. Jan but I thi

Re: [fpc-devel] High performance Linux timer

2008-05-19 Thread Felipe Monteiro de Carvalho
On Mon, May 19, 2008 at 4:31 AM, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > Timestamp counter from the CPU (assuming we are speaking of RDTSC) is > susceptible to many issue... Read the line just bellow the one you just quoted: > * Nanosecond resolution is supported on Intel Pentium version

Re: [fpc-devel] fpc2.3.1 with uclibc 0.9.29 can work now.It seems fpc can't load uclibc share library correctly.

2008-05-19 Thread Jonas Maebe
On 19 May 2008, at 13:40, Florian Klaempfl wrote: 开心 schrieb: I copy pthrlinux.inc to rtl\linux\, and in cthreads.pp changed {$i pthread.inc} to {$i pthrlinux.inc} , then adjusment cthreads.pp some statements. After rebuild all, Would you mind to share your pthrlinux.inc? I guess it's the

Re: [fpc-devel] fpc2.3.1 with uclibc 0.9.29 can work now.It seems fpc can't load uclibc share library correctly.

2008-05-19 Thread Florian Klaempfl
开心 schrieb: I copy pthrlinux.inc to rtl\linux\, and in cthreads.pp changed {$i pthread.inc} to {$i pthrlinux.inc} , then adjusment cthreads.pp some statements. After rebuild all, Would you mind to share your pthrlinux.inc? ___ fpc-devel maillist -

Re: [fpc-devel] High performance Linux timer

2008-05-19 Thread Vladimir Zhirov
Hi, Graeme Geldenhuys wrote: > Does anybody know if there is a Linux (or generic Unix) high > performance timer API available. Something like the Win32 API > QueryPerformanceCounter()? Graeme, maybe this link will help: http://www.gamedev.net/community/forums/topic.asp?topic_id=127700 There are

[fpc-devel] fpc2.3.1 with uclibc 0.9.29 can work now.It seems fpc can't load uclibc share library correctly.

2008-05-19 Thread 开心
I copy pthrlinux.inc to rtl\linux\, and in cthreads.pp changed{$i pthread.inc}  to {$i pthrlinux.inc}, then adjusment cthreads.pp some statements. After rebuild all, everythink is ok!It seems fpc load uclibc share library correctly.^^It seems fpc can't load uclib

[fpc-devel] fpc2.3.1 with uclibc 0.9.29 can work now, and using cthreads success.

2008-05-19 Thread 开心
I copy pthrlinux.inc to rtl\linux\, and in cthreads.pp changed{$i pthread.inc}  to {$i pthrlinux.inc}, then adjusment cthreads.pp some statements. After rebuild all, everythink is ok!It seems fpc load uclibc share library correctly.Thanks for all!___ fpc-

Re: [fpc-devel] High performance Linux timer

2008-05-19 Thread Graeme Geldenhuys
Felipe Monteiro de Carvalho wrote: I once implemented a high precision timer on linux, but I don't remember how I did it. Look at the code here: http://wiki.lazarus.freepascal.org/EpikTimer Thanks, I'll have a look at the code for more details. From the wiki, it sounds like there might be so