[fpc-pascal] Re: building universal binary

2009-02-03 Thread Ken G. Brown
> > Have a Pascal program calling some C code from a static library I > > build in a separate project so I can use the debugger. > >You can also build it in a separate target of the same project and >then change the target-specific flags for that C library (as in the >"FPC-C-C++ Carbon Applicati

[fpc-pascal] Re: building universal binary

2009-02-03 Thread Ken G. Brown
Further: it appears that lipo cannot handle app bundles, so if I run it on the executable itself, it says it is ok, has both i386 and ppc. So I guess I'm missing something that tells Finder it is a universal binary, but what? Thx, Ken G. Brown At 12:21 PM -0700 2/3/09, Ken G. Brown apparently w

Re: [fpc-pascal] Error: Assembler as not found, switching to external assembling

2009-02-03 Thread Jonas Maebe
On 20 Jan 2009, at 10:18, Jonas Maebe wrote: On 19 Jan 2009, at 18:05, Ingemar Ragnemalm wrote: One of the users reporting problems did search for as, and found it in /developer/usr/bin/as! So Xcode was installed, and "as" was installed, but not in /usr/bin/as! Maybe Apple has changed the

Re: [fpc-pascal] building universal binary

2009-02-03 Thread Jonas Maebe
On 03 Feb 2009, at 20:21, Ken G. Brown wrote: Have a Pascal program calling some C code from a static library I build in a separate project so I can use the debugger. You can also build it in a separate target of the same project and then change the target-specific flags for that C library

[fpc-pascal] building universal binary

2009-02-03 Thread Ken G. Brown
Mac OS X 10.5.6, fpc 2.2.2, Xcode 3.1.2 Have a Pascal program calling some C code from a static library I build in a separate project so I can use the debugger. I've set Xcode to use gcc 4.0 targeting 10.4 for intel, and gcc 3.3 targetting 10.3.9 for PowerPC in both projects. So far I am basic