Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Mattias Gaertner
On Wed, 16 Jul 2008 17:31:46 +0200 Jonas Maebe <[EMAIL PROTECTED]> wrote: > > On 16 Jul 2008, at 15:39, Mattias Gärtner wrote: > > > Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > > >> The problem is that there is no download page with explanations on > >> sourceforge (I don't know whether it's

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Jonas Maebe
On 16 Jul 2008, at 15:39, Mattias Gärtner wrote: Zitat von Jonas Maebe <[EMAIL PROTECTED]>: The problem is that there is no download page with explanations on sourceforge (I don't know whether it's even possible to do that). You can see it on all of the regular download pages. That release wa

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Mattias Gärtner
Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > On 16 Jul 2008, at 14:56, Mattias Gärtner wrote: > > > Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > > >> Well, if it found units before you did that, you probably had > >> a .fpc.cfg somewhere in your home directory already. > > > > Maybe. I didn't

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Jonas Maebe
On 16 Jul 2008, at 14:56, Mattias Gärtner wrote: Zitat von Jonas Maebe <[EMAIL PROTECTED]>: Well, if it found units before you did that, you probably had a .fpc.cfg somewhere in your home directory already. Maybe. I didn't check. I called samplecfg first as normal user and so samplecfg igno

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Mattias Gärtner
Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > On 16 Jul 2008, at 13:15, Mattias Gärtner wrote: > > > Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > > >> This is strange, since the FPC config files all use $fpcversion to > >> set > >> the unit paths. > > > > BTW, for some reasons 'make install' di

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Jonas Maebe
On 16 Jul 2008, at 13:15, Mattias Gärtner wrote: Zitat von Jonas Maebe <[EMAIL PROTECTED]>: This is strange, since the FPC config files all use $fpcversion to set the unit paths. BTW, for some reasons 'make install' did not recreate the /etc/ fpc.cfg. That is by design. /etc/fpc.cfg is

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Mattias Gärtner
Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > On 16 Jul 2008, at 10:26, Mattias Gärtner wrote: > > > Maybe you misunderstood: I did not use the lazarus 'make install'. > > I installed fpc with 'make install'. This installed fpc 2.3.1 in a > > separate > > directory (/usr/local/lib/fpc/2.3.1) (sep

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Jonas Maebe
On 16 Jul 2008, at 10:26, Mattias Gärtner wrote: Maybe you misunderstood: I did not use the lazarus 'make install'. I installed fpc with 'make install'. This installed fpc 2.3.1 in a separate directory (/usr/local/lib/fpc/2.3.1) (separate from the prior installed fpc 2.2.2rc1). And I did a

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Mattias Gärtner
Zitat von Schindler Karl-Michael <[EMAIL PROTECTED]>: > Am 16. Jul 2008 um 09:44 schrieb Mattias Gärtner: > > > Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > > >> > >> On 15 Jul 2008, at 00:16, Mattias Gaertner wrote: > >> > >>> Now only the wrong file formats. > >>> zbase, gzio, crc, zdeflate, .

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Schindler Karl-Michael
Am 16. Jul 2008 um 10:00 schrieb Jonas Maebe: On 16 Jul 2008, at 09:44, Mattias Gärtner wrote: I removed all fpc .o/.ppu files under /usr/local/lib and in lazarus. Then it worked. Apparently somewhere the fpc make install / lazarus make clean does not replace/delete all files. make insta

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Jonas Maebe
On 16 Jul 2008, at 09:44, Mattias Gärtner wrote: I removed all fpc .o/.ppu files under /usr/local/lib and in lazarus. Then it worked. Apparently somewhere the fpc make install / lazarus make clean does not replace/delete all files. make install does not explicitly delete anything, at most

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Schindler Karl-Michael
Am 16. Jul 2008 um 09:44 schrieb Mattias Gärtner: Zitat von Jonas Maebe <[EMAIL PROTECTED]>: On 15 Jul 2008, at 00:16, Mattias Gaertner wrote: Now only the wrong file formats. zbase, gzio, crc, zdeflate, ... inffast. Hmm. These are only the .o files in paszlib. I can't reproduce it. One t

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Mattias Gärtner
Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > On 15 Jul 2008, at 00:16, Mattias Gaertner wrote: > > > Now only the wrong file formats. > > zbase, gzio, crc, zdeflate, ... inffast. Hmm. These are only the .o > > files in paszlib. > > I can't reproduce it. One thing you can try is compiling with -C

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Jonas Maebe
On 15 Jul 2008, at 00:16, Mattias Gaertner wrote: Now only the wrong file formats. zbase, gzio, crc, zdeflate, ... inffast. Hmm. These are only the .o files in paszlib. I can't reproduce it. One thing you can try is compiling with -Cn and checking the generated link.res file to make sure th

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-14 Thread Mattias Gaertner
On Mon, 14 Jul 2008 23:51:30 +0200 Jonas Maebe <[EMAIL PROTECTED]> wrote: > > On 14 Jul 2008, at 23:03, Mattias Gaertner wrote: > > > On Fri, 26 Oct 2007 16:58:29 +0200 > > Jonas Maebe <[EMAIL PROTECTED]> wrote: > > > >> [...] > >> * The new linker deals differently with stabs debug information

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-14 Thread Jonas Maebe
On 14 Jul 2008, at 23:14, Mattias Gaertner wrote: The unknown stabs are only in the LCL units, not in the FPC units. So apparently FPC knows a trick. Does someone know the trick? The "trick" is not using local constants. Jonas ___ fpc-pascal maill

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-14 Thread Jonas Maebe
On 14 Jul 2008, at 23:03, Mattias Gaertner wrote: On Fri, 26 Oct 2007 16:58:29 +0200 Jonas Maebe <[EMAIL PROTECTED]> wrote: [...] * The new linker deals differently with stabs debug information compared to previous versions, causing a lot of "Unknown stabs" warnings and also some errors durin

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-14 Thread Mattias Gaertner
On Mon, 14 Jul 2008 23:03:26 +0200 Mattias Gaertner <[EMAIL PROTECTED]> wrote: > On Fri, 26 Oct 2007 16:58:29 +0200 > Jonas Maebe <[EMAIL PROTECTED]> wrote: > > >[...] > > * The new linker deals differently with stabs debug information > > compared to previous versions, causing a lot of "Unknow

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-14 Thread Mattias Gaertner
On Fri, 26 Oct 2007 16:58:29 +0200 Jonas Maebe <[EMAIL PROTECTED]> wrote: >[...] > * The new linker deals differently with stabs debug information > compared to previous versions, causing a lot of "Unknown stabs" > warnings and also some errors during linking > - Effect: you can't compile code