Re: [fpc-pascal] FPC only 32 bits?

2007-06-07 Thread Francisco Reyes
Marco van de Voort writes: It is possible to create a binary for amd64, but that binary doesn't work, and I don't know why. FreeBSD keeps complaining it can't execute it. Marco, since you were able to do this cross compile once, doesn't that mean you have the cross-binutils for 6.2? Any chan

Re: [fpc-pascal] Wiki Syntax Highlight

2007-06-07 Thread Johann Glaser
Hi! Am Donnerstag, den 07.06.2007, 15:28 +0200 schrieb Vincent Snijders: > Catalin Zamfir Alexandru schreef: > > If there was a petition for this, I would have signed it. We need SYNTAX > > highlithing ... :P NOW. :D > > > > If you do so, please use Geshi :D. It's the best and I use it a lot on

Re: [fpc-pascal] FPC only 32 bits?

2007-06-07 Thread Francisco Reyes
Henry Vermaak writes: o.k., no problems, we all gotta learn ;) on which platform are you compiling on at the moment? (sorry, i've lost the story line a bit) Compiling on FreeBSD 6.2 i386 I started this whole project because the FreeBSD port doesn't compile in amd64. I have a laptop which

Re: [fpc-pascal] FPC only 32 bits?

2007-06-07 Thread Francisco Reyes
Vincent Snijders writes: x86_64/prt0.as:38: Error: `-16(%rbp)' is not a valid 32 bit base/index expression Can you manually assemble prt0.as? Maybe the assembler needs --64 to be in 64 bits mode. In that case you may need to write some wrapper scripts to add that parameter. Even though my

Re: [fpc-pascal] FPC only 32 bits?

2007-06-07 Thread Henry Vermaak
On 07/06/07, Francisco Reyes <[EMAIL PROTECTED]> wrote: I have read it a few times, but it is likely that something that is obvious to more experienced users is not clear to someone new like myself. o.k., no problems, we all gotta learn ;) on which platform are you compiling on at the moment

Re: [fpc-pascal] FPC only 32 bits?

2007-06-07 Thread Francisco Reyes
Henry Vermaak writes: no, this is wrong. there is a reason that they have the prefix. you need to get the cross binutils that cross assembles and cross links from your platform to x86_64 freebsd. Ok. you might be able to download them from somewhere or build them with a suitable tool./scr

Re: [fpc-pascal] Wiki Syntax Highlight

2007-06-07 Thread Vincent Snijders
Catalin Zamfir Alexandru schreef: If there was a petition for this, I would have signed it. We need SYNTAX highlithing ... :P NOW. :D If you do so, please use Geshi :D. It's the best and I use it a lot on theg33ks.com in my articles. Does it work with mediawiki? Can you give a installation d

Re: [fpc-pascal] FPC only 32 bits?

2007-06-07 Thread Henry Vermaak
On 07/06/07, Francisco Reyes <[EMAIL PROTECTED]> wrote: So I copy /usr/bin/as to /vol2/fp-amd/fpc/crossbin and name it x86_64-freebsd-as? Did that. no, this is wrong. there is a reason that they have the prefix. you need to get the cross binutils that cross assembles and cross links from yo

Re: [fpc-pascal] FPC only 32 bits?

2007-06-07 Thread Vincent Snijders
Francisco Reyes schreef: Henry Vermaak writes: this doesn't look right you've got BINUTILSPREFIX=x86_64-freebsd -INSTALL_PREFIX=... where you should have BINUTILSPREFIX=x86_64-freebsd- INSTALL_PREFIX=... (note the space after freebsd) did you copy in paste or is this a typo? It was a typo. C

Re: [fpc-pascal] Wiki Syntax Highlight

2007-06-07 Thread Catalin Zamfir Alexandru
If there was a petition for this, I would have signed it. We need SYNTAX highlithing ... :P NOW. :D If you do so, please use Geshi :D. It's the best and I use it a lot on theg33ks.com in my articles. On Thursday 07 June 2007 15:36, Johann Glaser wrote: > Hi! > > When reading Freepascal Wiki pag

Re: [fpc-pascal] FPC only 32 bits?

2007-06-07 Thread Francisco Reyes
Henry Vermaak writes: this doesn't look right you've got BINUTILSPREFIX=x86_64-freebsd -INSTALL_PREFIX=... where you should have BINUTILSPREFIX=x86_64-freebsd- INSTALL_PREFIX=... (note the space after freebsd) did you copy in paste or is this a typo? It was a typo. Corrected. Thanks. I thin

Re: [fpc-pascal] FPC only 32 bits?

2007-06-07 Thread Henry Vermaak
On 07/06/07, Francisco Reyes <[EMAIL PROTECTED]> wrote: I thought I already had cross compiled. I posted earlier what I used: cd fpc gmake distclean # next all on one line gmake all install CPU_TARGET=x86_64 OS_TARGET=freebsd CROSSBINDIR=/vol2/fp-amd/fpc/cross/bin BINUTILSPREFIX=x86_64-freebsd

Re: [fpc-pascal] Web Service Toolkit - Questions

2007-06-07 Thread Michael Van Canneyt
On Thu, 7 Jun 2007, Johann Glaser wrote: > Hi! > > > > Studying the WST Wiki page > > > http://wiki.freepascal.org/Web_Service_Toolkit I found that it seems not > > > to be possible to serialize records. What is the difficulty implementing > > > that? > > > > None, I suppose, except that you mu

Re: [fpc-pascal] FPC only 32 bits?

2007-06-07 Thread Jonas Maebe
On 7 jun 2007, at 14:48, Francisco Reyes wrote: Also when I do "file ppcrossx64" it reports it is 32bits. At least this is normal, since you are working on a 32 bit machine: this is a cross compiler from 32 bits to 64 bits (i.e., the compiler itself is a 32 bit program, but generates 64 b

Re: [fpc-pascal] FPC only 32 bits?

2007-06-07 Thread Francisco Reyes
Marco van de Voort writes: Note that all of this is described in the buildfaq already published earlier. I thought I already had cross compiled. I posted earlier what I used: cd fpc gmake distclean # next all on one line gmake all install CPU_TARGET=x86_64 OS_TARGET=freebsd CROSSBINDIR=/vol2

[fpc-pascal] Wiki Syntax Highlight

2007-06-07 Thread Johann Glaser
Hi! When reading Freepascal Wiki pages I find it quite tedious to read the source blocks, because they are simple blocks. Is it possible to use a syntax highlighted code block? Bye Hansi -- Johann Glaser <[EMAIL PROTECTED]> Vienna University of Technology Electrical Engineering _

Re: [fpc-pascal] Web Service Toolkit - Questions

2007-06-07 Thread Johann Glaser
Hi! > > Studying the WST Wiki page > > http://wiki.freepascal.org/Web_Service_Toolkit I found that it seems not > > to be possible to serialize records. What is the difficulty implementing > > that? > > None, I suppose, except that you must parse it :-) I see. Are there any problems in the transp

Re: [fpc-pascal] Web Service Toolkit - Questions

2007-06-07 Thread Michael Van Canneyt
On Thu, 7 Jun 2007, Johann Glaser wrote: > Hi! > > Studying the WST Wiki page > http://wiki.freepascal.org/Web_Service_Toolkit I found that it seems not > to be possible to serialize records. What is the difficulty implementing > that? None, I suppose, except that you must parse it :-) > How

[fpc-pascal] Web Service Toolkit - Questions

2007-06-07 Thread Johann Glaser
Hi! Studying the WST Wiki page http://wiki.freepascal.org/Web_Service_Toolkit I found that it seems not to be possible to serialize records. What is the difficulty implementing that? How can I transport a record between two programs? I'd like to have the same memory footprint (because it is forwa