Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-28 Thread Dominique Louis
Dominique Louis wrote: > Hi gurus, >I'm trying to compile a Carbon application for PowerPC from an i386 > Mac OS X box. The i386 code compiles fine, but when I try and target > PowerPC I get an "Can't find unit Printer4Lazarus used by MyApp" error. > > Any ideas? I don't know what you guys

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-26 Thread Adriaan van Os
Dominique Louis wrote: >> How does one get the Spotlight tool to search all directories. For all >> of it's usability, I could not get spotlight to do this. The user interface to do this is quite bad. First enter something in a Search box. Then click on the Plus button in the results window. Th

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-26 Thread Dominique Louis
Dominique Louis wrote: > Felipe Monteiro de Carvalho wrote: >> On Wed, Jun 25, 2008 at 8:29 PM, Dominique Louis >> <[EMAIL PROTECTED]> wrote: >>> Compiling the package itself, from within the IDE, while targetting >>> powerpc, throws up the same error as before. >>> While targetting i386 seems to c

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-26 Thread Dominique Louis
Felipe Monteiro de Carvalho wrote: > On Wed, Jun 25, 2008 at 8:29 PM, Dominique Louis > <[EMAIL PROTECTED]> wrote: >> Compiling the package itself, from within the IDE, while targetting >> powerpc, throws up the same error as before. >> While targetting i386 seems to compile fine. > > Which error?

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-26 Thread Mattias Gaertner
On Wed, 25 Jun 2008 20:03:39 -0300 "Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]> wrote: > On Wed, Jun 25, 2008 at 7:50 PM, Dominique Louis > <[EMAIL PROTECTED]> wrote: > > From looking at the compiler options command line parameters > > screen it seems to be looking for it in > > -Fu../../../

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-25 Thread Felipe Monteiro de Carvalho
On Wed, Jun 25, 2008 at 8:29 PM, Dominique Louis <[EMAIL PROTECTED]> wrote: > Compiling the package itself, from within the IDE, while targetting > powerpc, throws up the same error as before. > While targetting i386 seems to compile fine. Which error? LResources? If yes, try building only LCL fo

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-25 Thread Dominique Louis
Felipe Monteiro de Carvalho wrote: > On Wed, Jun 25, 2008 at 7:50 PM, Dominique Louis > <[EMAIL PROTECTED]> wrote: >> From looking at the compiler options command line parameters screen it >> seems to be looking for it in >> -Fu../../../../../.lazarus/lib/Printer4Lazarus/powerpc-darwin/ > > No. I

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-25 Thread Felipe Monteiro de Carvalho
On Wed, Jun 25, 2008 at 7:50 PM, Dominique Louis <[EMAIL PROTECTED]> wrote: > From looking at the compiler options command line parameters screen it > seems to be looking for it in > -Fu../../../../../.lazarus/lib/Printer4Lazarus/powerpc-darwin/ No. It should probably be something like: lazarus/c

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-25 Thread Dominique Louis
Felipe Monteiro de Carvalho wrote: > make all won't compile the printers package AFAIK. And it will compile > the Lazarus IDE. Doesn't look like a good idea. > > make bigide will build both the IDE and printers. > > anyway, if you really want to build in the command line I would try > setting TAR

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-25 Thread Dominique Louis
Hi Adriaan, I have used your scripts before, but it looks like this version has been updated. I'll give them a try and see what happens. Adriaan van Os wrote: > Dominique Louis wrote: >> Hi Felipe, >>I downloaded the latest SVN and attemped to build a new PowerPC >> compiler using the 2.2.2r

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-25 Thread Adriaan van Os
Dominique Louis wrote: > Hi Felipe, >I downloaded the latest SVN and attemped to build a new PowerPC > compiler using the 2.2.2r1 compiler. These are the commands I typed... > sudo /usr/local/bin/fpcmake -w -Tall > sudo make clean CPU_TARGET=powerpc FPC=/usr/local/bin/fpc > sudo make all CPU_T

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-24 Thread Dominique Louis
Hi Felipe, I downloaded the latest SVN and attemped to build a new PowerPC compiler using the 2.2.2r1 compiler. These are the commands I typed... sudo /usr/local/bin/fpcmake -w -Tall sudo make clean CPU_TARGET=powerpc FPC=/usr/local/bin/fpc sudo make all CPU_TARGET=powerpc FPC=/usr/local/bin/fp

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-22 Thread Vincent Snijders
Dominique Louis schreef: > Vincent Snijders wrote: >> You are supposed to use the latest release version of the fpc compiler >> or the SVN head of a development version. > > Hi Vincent, >All the code is from the SVN or does "SVN head of a development > version" mean something else? svn head

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-22 Thread Dominique Louis
Felipe Monteiro de Carvalho wrote: > On Sun, Jun 22, 2008 at 3:07 PM, Dominique Louis > <[EMAIL PROTECTED]> wrote: >> I could not find the specific packages > > lazarus/components/printers > >> so I did a make all using the >> ppcppc compiler and when I do that I get the following compilation e

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-22 Thread Felipe Monteiro de Carvalho
On Sun, Jun 22, 2008 at 4:34 PM, Dominique Louis <[EMAIL PROTECTED]> wrote: > All the code is from the SVN or does "SVN head of a development > version" mean something else? The problem is that in Free Pascal 2.2.1 the FPCMacOSAll unit was renamed to MacOSAll. 2.2.1 is a development version, an

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-22 Thread Dominique Louis
Vincent Snijders wrote: > You are supposed to use the latest release version of the fpc compiler > or the SVN head of a development version. Hi Vincent, All the code is from the SVN or does "SVN head of a development version" mean something else? Dominique.

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-22 Thread Vincent Snijders
Dominique Louis schreef: > Hi Felipe, >I could not find the specific packages so I did a make all using the > ppcppc compiler and when I do that I get the following compilation error > Fatal: Can't find unit MacOSAll used by CarbonInt > > Am I not supposed to be able to do a > make all LCL_PL

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-22 Thread Felipe Monteiro de Carvalho
On Sun, Jun 22, 2008 at 3:07 PM, Dominique Louis <[EMAIL PROTECTED]> wrote: > I could not find the specific packages lazarus/components/printers > so I did a make all using the > ppcppc compiler and when I do that I get the following compilation error > Fatal: Can't find unit MacOSAll used by C

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-22 Thread Dominique Louis
Hi Felipe, I could not find the specific packages so I did a make all using the ppcppc compiler and when I do that I get the following compilation error Fatal: Can't find unit MacOSAll used by CarbonInt Am I not supposed to be able to do a make all LCL_PLATFORM=carbon and target the ppcppc com

Re: [Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-21 Thread Felipe Monteiro de Carvalho
On Sat, Jun 21, 2008 at 9:51 PM, Dominique Louis <[EMAIL PROTECTED]> wrote: > Hi gurus, > I'm trying to compile a Carbon application for PowerPC from an i386 > Mac OS X box. The i386 code compiles fine, but when I try and target > PowerPC I get an "Can't find unit Printer4Lazarus used by MyApp" e

[Lazarus] Mac OS X : Cross compiling from i386 -> PowerPC

2008-06-21 Thread Dominique Louis
Hi gurus, I'm trying to compile a Carbon application for PowerPC from an i386 Mac OS X box. The i386 code compiles fine, but when I try and target PowerPC I get an "Can't find unit Printer4Lazarus used by MyApp" error. Any ideas? Dominique. ___ La