Re: [fpc-pascal] Compiling FPC for SPARC

2006-08-03 Thread Mark Morgan Lloyd
Peter Vreman wrote: > There is only one correct solution: Fix the building of the 2.0.4 by > looking up the correct syscall in the C headers. > > Forget about old stable releases like 2.0.2, only work with current svn > (2.0.4 or 2.1.1). The only thing that bothers me here is that while this is

Re: [fpc-pascal] Compiling FPC for SPARC

2006-08-03 Thread Jonas Maebe
On 3 aug 2006, at 11:11, Mark Morgan Lloyd wrote: Forget about old stable releases like 2.0.2, only work with current svn (2.0.4 or 2.1.1). The only thing that bothers me here is that while this is the correct solution it might not be possible. With the major caveat that I'm a beginner

Re: [fpc-pascal] Compiling FPC for SPARC

2006-08-03 Thread Mark Morgan Lloyd
Vincent Snijders wrote: > Look up the syscall_nr_exit_group (the number for exit_group syscall) for > sparc and > add it to rtl/linux/sparc/sysnr.inc and try to compile again. > > This syscall was not used in fpc 2.0.2, but was added afterwards. You might > find > more of those. Thanks. I'll f

Re: [fpc-pascal] Compiling FPC for SPARC

2006-08-03 Thread Peter Vreman
> Vincent Snijders wrote: > >> Look up the syscall_nr_exit_group (the number for exit_group syscall) >> for sparc and >> add it to rtl/linux/sparc/sysnr.inc and try to compile again. >> >> This syscall was not used in fpc 2.0.2, but was added afterwards. You >> might find >> more of those. > > Than

Re: [fpc-pascal] Compiling FPC for SPARC

2006-08-03 Thread Mark Morgan Lloyd
Jonas Maebe wrote: > > The only thing that bothers me here is that while this is the > > correct solution > > it might not be possible. With the major caveat that I'm a beginner > > at this but > > I've demonstrated that 2.0.0 can't compile 2.0.2, and I suspect > > that once I've > > fixed the mis

Re: [fpc-pascal] Compiling FPC for SPARC

2006-08-03 Thread Vincent Snijders
Mark Morgan Lloyd schreef: Jonas Maebe wrote: The only thing that bothers me here is that while this is the correct solution it might not be possible. With the major caveat that I'm a beginner at this but I've demonstrated that 2.0.0 can't compile 2.0.2, and I suspect that once I've fixed the m

Re: [fpc-pascal] Compiling FPC for SPARC

2006-08-03 Thread Tomas Hajny
Mark Morgan Lloyd wrote: > Jonas Maebe wrote: > >> > The only thing that bothers me here is that while this is the >> > correct solution >> > it might not be possible. With the major caveat that I'm a beginner >> > at this but >> > I've demonstrated that 2.0.0 can't compile 2.0.2, and I suspect >>

Re: [fpc-pascal] Compiling FPC for SPARC

2006-08-03 Thread Mark Morgan Lloyd
Peter Vreman wrote: > 2.0.4 (and also the current 2.1.1) can still be build by 2.0.0. Sure- on an Intel platform. Running on i386- I've just had another session and can confirm that 2.0.2 can build both its own sources and those of 2.0.4, so my earlier problem was definitely something to do with

Re: [fpc-pascal] Compiling FPC for SPARC

2006-08-03 Thread Mark Morgan Lloyd
OK, 4x calls missing as below 1 1>[EMAIL PROTECTED]:~/pascal/src/fpcsrc/rtl/linux/sparc$ diff -u sysnr.inc~ sysnr.inc --- sysnr.inc~ 2006-02-15 07:19:26.0 + +++ sysnr.inc 2006-08-03 13:49:10.0 + @@ -207,14 +207,14 @@ syscall_nr_setpgid = 185 ; // Common

Re: [fpc-pascal] Compiling FPC for SPARC

2006-08-03 Thread Jonas Maebe
On 3 aug 2006, at 16:10, Mark Morgan Lloyd wrote: As discussed earlier I was starting off with the released 2.0.0 compiler. Source files from fpcbuild_2_0_4_rc2.zip downloaded about 24 hours ago- I've got limited free bandwidth here. I can reproduce the problem under SPARC/Solaris. I'll t

[fpc-pascal] Abstract class implementation on different platforms

2006-08-03 Thread Graeme Geldenhuys
Hi, How do I do the following using FPC with Makefile's or a Lazarus Package? I have a TGfxCanvas abstract class (something like the TFPCustomCanvas class in the graphics.pp unit) and it gets implemented differently for different platforms. Currently Win32 and X11, but others will follow later.

Re: [fpc-pascal] Compiling FPC for SPARC

2006-08-03 Thread Mark Morgan Lloyd
Jonas Maebe wrote: > I can reproduce the problem under SPARC/Solaris. I'll try to get at > least that one compiling (don't have access to a sparc/linux machine) > and commit the needed patches. Thanks, every bit helps. I'm hoping to look at Solaris at some point but I've only got v8 running here

Re: [fpc-pascal] Compiling FPC for SPARC

2006-08-03 Thread Jonas Maebe
On 3 aug 2006, at 17:14, Mark Morgan Lloyd wrote: Thanks, every bit helps. I'm hoping to look at Solaris at some point but I've only got v8 running here at present- I'm hoping there'll be a v10 with the new machines. Don't bother with Solaris in 2.0.x, it won't work at all. None of the

[fpc-pascal] Re: [lazarus] Abstract class implementation on different platforms

2006-08-03 Thread Graeme Geldenhuys
Apologies! That unit came from a different project (LPTK) and not Lazarus. To many files open at once in the editor. Regards, Graeme On 8/3/06, Vincent Snijders <[EMAIL PROTECTED]> wrote: Graeme Geldenhuys schreef: > I don't want to use IFDEF's in my code if possible. A bad example is > th

Re: Minor issue compiling FPC from sources [fpc-pascal]

2006-08-03 Thread Eugene Mayevski
Hello! You (Пётр Косаревский с mail.ru [mailto:[EMAIL PROTECTED]) wrote about "Re[2]: Minor issue compiling FPC from sources [fpc-pascal]" on 08/3/2006 at 00:16: ПК> Well, there is a system command "echo" under windows, there is "echo" ПК> program in "cygwin" (so, I guess it is present in most uni