[fpc-pascal]Binutils 2.18 cross win32-linux

2008-06-05 Thread Wanderlan Santos dos Anjos
Hello All, I'm doing crosscompiling from Win32 to Linux. I use Binutils 2.15 but this version gives error when cthreads unit is referred, probably because version 2.15 is too old. Where can I download Binutils 2.18 cross? -- Att, Wanderlan Santos dos Anjos (061) 3345-5496; 9133-3804 ___

Re: [fpc-pascal] Re: FPC 2.2.1 on Mac OS X

2008-06-05 Thread Karl-Michael Schindler
Am 5. Jun 2008 um 15:31 schrieb Felipe Monteiro de Carvalho: Most people would like to avoid fink if possible, but maybe you have a compeling reason to use it instead of the standard install method for native applications well, fink is a package manager and takes care of package dependencies

[fpc-pascal] I broke the FPC wiki search

2008-06-05 Thread Mattias Gaertner
I searched for 'optimize' and got a server error. http://community.freepascal.org:1/search/search?q=optimize&t=Search Server Error There was a server error processing your request. We apologize. Take me back where I was (before the error) Database operation "0or1row" failed (exception NSDB

Re: [fpc-pascal] FPC_ARMEL system calls

2008-06-05 Thread Luca Olivetti
Henry Vermaak escribió: native compiling won't make a difference, since you should link to the same libraries. Surely you're right, but native compiling wouldn't left me wondering if the problems are due to the bleeding edge compiler or to some quirk in the crossbinutils[*] or the libraries'

Re: [fpc-pascal] Re: FPC 2.2.1 on Mac OS X

2008-06-05 Thread Jonas Maebe
On 05 Jun 2008, at 15:45, Damien Gerard wrote: By the way, I don't know if it is a good idea, but the install dir may be /Developper/Applications/Lazarus instead of /Applications, like XCode and others dev tools. As of Mac OS X 10.5.x, Xcode can be installed anywhere on the system (and m

Re: [fpc-pascal] Re: FPC 2.2.1 on Mac OS X

2008-06-05 Thread Damien Gerard
Le Jun 5, 2008 à 3:32 PM, Vincent Snijders a écrit : Felipe Monteiro de Carvalho schreef: On Thu, Jun 5, 2008 at 3:11 AM, Karl-Michael Schindler <[EMAIL PROTECTED]> wrote: How do you use fink for your work with freepascal and lazarus? I think that the question is that using fink shouldn't be

Re: [fpc-pascal] Re: FPC 2.2.1 on Mac OS X

2008-06-05 Thread Jonas Maebe
On 05 Jun 2008, at 15:31, Felipe Monteiro de Carvalho wrote: On Thu, Jun 5, 2008 at 3:11 AM, Karl-Michael Schindler <[EMAIL PROTECTED]> wrote: How do you use fink for your work with freepascal and lazarus? I think that the question is that using fink shouldn't be necessary to install the Car

Re: [fpc-pascal] FPC_ARMEL system calls

2008-06-05 Thread Henry Vermaak
2008/6/5 Luca Olivetti <[EMAIL PROTECTED]>: > Henry Vermaak escribió: > >> why don't you just cross-compile your program? > > because it's too darn difficult? (not that native compiling is an easy > walkbut see my problems trying to cross-compile the gtk2 hello program) > my best (and uneducat

Re: [fpc-pascal] Re: FPC 2.2.1 on Mac OS X

2008-06-05 Thread Vincent Snijders
Felipe Monteiro de Carvalho schreef: On Thu, Jun 5, 2008 at 3:11 AM, Karl-Michael Schindler <[EMAIL PROTECTED]> wrote: How do you use fink for your work with freepascal and lazarus? I think that the question is that using fink shouldn't be necessary to install the Carbon based Lazarus. It coul

Re: [fpc-pascal] Re: FPC 2.2.1 on Mac OS X

2008-06-05 Thread Felipe Monteiro de Carvalho
On Thu, Jun 5, 2008 at 3:11 AM, Karl-Michael Schindler <[EMAIL PROTECTED]> wrote: > How do you use fink for your work with freepascal and lazarus? I think that the question is that using fink shouldn't be necessary to install the Carbon based Lazarus. It could be deployed like any other native app

Re: [fpc-pascal] FPC_ARMEL ld-linux.so.3

2008-06-05 Thread Luca Olivetti
Nataraj S Narayan escribió: Hi I find that in my qemu emulated machine , /lib/ld-linux.so.3 is actually a symink to /lib/ld-2.7.so . Whereas in my target Arm machine it is just ld-linux.so.3. Could this be any problem ? I'm in no way an expert but I don't think so: in my

Re: [fpc-pascal] x86_64 assembler

2008-06-05 Thread mm
Jonas Maebe a écrit : How can one declare a constant of type qword with the INTEL assembler? I am using FPC 2.2.0 and the mnemonic "dq" stops the compilation with the message "Error: Unrecognized opcode DQ". As far as I can see, that's not possible at this time. That's what I was afraid of.

Re: [fpc-pascal] FPC_ARMEL system calls

2008-06-05 Thread Luca Olivetti
Henry Vermaak escribió: why don't you just cross-compile your program? because it's too darn difficult? (not that native compiling is an easy walkbut see my problems trying to cross-compile the gtk2 hello program) Bye -- Luca ___ fpc-pascal m

Re: [fpc-pascal] FPC_ARMEL system calls

2008-06-05 Thread Luca Olivetti
Nataraj S Narayan escribió: Hi Luca Please give me the full command used for cross compiling with all the options. Is it "-O-" or just "-O"? It is "-O-", i.e. turn off optimizations. If you update from svn you shouldn't need that. As per the full command, it's somewhere in one of my pre

Re: [fpc-pascal] FPC_ARMEL system calls

2008-06-05 Thread Henry Vermaak
2008/6/4 Nataraj S Narayan <[EMAIL PROTECTED]>: > Hi Henry, Luca > > I got a 'ppcarm' after compiling the fpc-svn. I copied the pparm to the > qemu-system-arm emulated machine and tried to compile a Helloworld.pas. > fpc showed some errors related to FPU and stopped. Then i copied many *.o > and *.

Re: [fpc-pascal] Re: FPC 2.2.1 on Mac OS X

2008-06-05 Thread Damien Gerard
Le Jun 5, 2008 à 2:09 PM, Jonas Maebe a écrit : On 05 Jun 2008, at 09:50, Damien Gerard wrote: Le Jun 5, 2008 à 8:11 AM, Karl-Michael Schindler a écrit : Hallo Am 4. Jun 2008 um 09:56 schrieb Damien Gerard: Please not Fink. Put only Lazarus.app as it already exists (Carbon widgetset) i

Re: [fpc-pascal] Re: FPC 2.2.1 on Mac OS X

2008-06-05 Thread Jonas Maebe
On 05 Jun 2008, at 09:50, Damien Gerard wrote: Le Jun 5, 2008 à 8:11 AM, Karl-Michael Schindler a écrit : Hallo Am 4. Jun 2008 um 09:56 schrieb Damien Gerard: Please not Fink. Put only Lazarus.app as it already exists (Carbon widgetset) into /Applications/ (through an installer since it

Re: [fpc-pascal] FPC_ARMEL system calls

2008-06-05 Thread Nataraj S Narayan
Hi Luca Please give me the full command used for cross compiling with all the options. Is it "-O-" or just "-O"? I am able to run the ppcarm which was generated by cross compiling, on the qemu system, and am able to compile and run a siple writeln app. But when copying and executing to the ARM

Re: [fpc-pascal] FPC_ARMEL ld-linux.so.3

2008-06-05 Thread Nataraj S Narayan
Hi I find that in my qemu emulated machine , /lib/ld-linux.so.3 is actually a symink to /lib/ld-2.7.so. Whereas in my target Arm machine it is just ld-linux.so.3. Could this be any problem ? regards Nataraj On Wed, Jun 4, 2008 at 4:14 PM, Nataraj S Narayan <[EMAIL PROTECTED]> wrote: > Hi Henr

Re: [fpc-pascal] FPC_ARMEL system calls

2008-06-05 Thread Nataraj S Narayan
Hi Henry, Luca I got a 'ppcarm' after compiling the fpc-svn. I copied the pparm to the qemu-system-arm emulated machine and tried to compile a Helloworld.pas. fpc showed some errors related to FPU and stopped. Then i copied many *.o and *.ppu files from host to qemu machine. This time fpc compiled

Re: [fpc-pascal] x86_64 assembler

2008-06-05 Thread Jonas Maebe
On 04 Jun 2008, at 23:43, mm wrote: How can one declare a constant of type qword with the INTEL assembler? I am using FPC 2.2.0 and the mnemonic "dq" stops the compilation with the message "Error: Unrecognized opcode DQ". As far as I can see, that's not possible at this time. Jonas ___

Re: [fpc-pascal] FPC on Palm

2008-06-05 Thread Jonas Maebe
On 04 Jun 2008, at 00:28, Andrew Haines wrote: Hi, I tried to build a crosscompiler for palmos-arm and palmos-m68k but both failed to compile. At least palmos-m68k is to be expected, since the m68k code generator hasn't worked past version 1.0.10a. I don't think any development on PalmO

Re: [fpc-pascal] FPC_ARMEL system calls

2008-06-05 Thread Henry Vermaak
2008/6/4 Florian Klaempfl <[EMAIL PROTECTED]>: > I've fixed some stuff, so it should work with -O2 as well. won't the startup code need to change for eabi? i can at least see a problem with the exit syscall there that won't work with eabi. henry ___ fp

Re: [fpc-pascal] FPC_ARMEL system calls

2008-06-05 Thread Henry Vermaak
2008/6/4 Florian Klaempfl <[EMAIL PROTECTED]>: > I've fixed some stuff, so it should work with -O2 as well. thanks, it works here now. henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pas

Re: [fpc-pascal] Re: FPC 2.2.1 on Mac OS X

2008-06-05 Thread Damien Gerard
Le Jun 5, 2008 à 8:11 AM, Karl-Michael Schindler a écrit : Hallo Am 4. Jun 2008 um 09:56 schrieb Damien Gerard: Le Jun 4, 2008 à 8:51 AM, Karl-Michael Schindler a écrit : I only noticed now the discussion on the mailing list about fpc 2.2.1 and lazarus on Mac OS X. As the maintainer of th