Re: [Lazarus] cross compiling

2009-02-02 Thread Alexander Kaupp aka tanila
OK I will try your solution, thx again. atm ppc386 is not able to link in lazarus :( I have this in my fpc.cfg: # searchpath for libraries #ifdef cpux86_64 -Fl/usr/lib/gcc/x86_64-linux-gnu/4.1.2 #endif #ifdef cpui386 -Fl/usr/lib/gcc/x86_64-linux-gnu/4.1.2/32 #endif could this make all the trou

Re: [Lazarus] cross compiling

2009-02-02 Thread Joost van der Sluis
Op maandag 02-02-2009 om 09:20 uur [tijdzone +0100], schreef Alexander Kaupp aka tanila: > > thx 4 your answer, but how do I compile for x86_64 on fcp-i386? > Or do you mean to install 2 FPCs one x64 and one i386? Yes. On most distributions that's possible. Or else you could download a ppc386-ex

Re: [Lazarus] cross compiling

2009-02-02 Thread Alexander Kaupp aka tanila
hi joos, thx 4 your answer, but how do I compile for x86_64 on fcp-i386? Or do you mean to install 2 FPCs one x64 and one i386? alex Am Sonntag, den 01.02.2009, 22:21 +0100 schrieb Joost van der Sluis: > Op zondag 01-02-2009 om 19:42 uur [tijdzone +0100], schreef Alexander > Kaupp aka tanila:

Re: [Lazarus] cross compiling

2009-02-01 Thread Joost van der Sluis
Op zondag 01-02-2009 om 19:42 uur [tijdzone +0100], schreef Alexander Kaupp aka tanila: > but i am not able to compile from x86_64-linux to i386-linux > > i read all docs on the lazarus page and the fpc pages. > but no success to cross compile anything... even the compiler itself. > > I used fpc

[Lazarus] cross compiling

2009-02-01 Thread Alexander Kaupp aka tanila
hello @ all, I am trying to set up fpc as a cross-compiler I am developing on linux x86_64 (debian etch) and i want to compile laz-projects to i386-linux and i386-win32 but i am not able to compile from x86_64-linux to i386-linux i read all docs on the lazarus page and the fpc pages. but no suc

[Lazarus] Cross-Compiling

2008-11-17 Thread Osvaldo Filho
I have this errors with de last svn copy: Title: Erro Erro Lazarus: command: make clean all OS_TARGET=win32 Output: ... make -C win32 all make[3]: Entrando no diretório `/usr/share/lazarus/lcl/interfaces/win32' /bin/rm -f ../../units/i386-win32/win32/interfaces.ppu \ ../../units/i386-win32/win

Re: [Lazarus] Cross compiling a package woes..

2008-10-03 Thread Mattias Gaertner
On Wed, 01 Oct 2008 22:32:22 +0400 Brad Campbell <[EMAIL PROTECTED]> wrote: > Mattias Gärtner wrote: > > > The CPU override was not used for projects. Fixed in 16831. > > > > You can use 'fpc' instead of 'ppc386'. This will call ppc386 or > > ppcppc or whatever automatically. > > I see... ppc38

Re: [Lazarus] Cross compiling a package woes..

2008-10-01 Thread Vincent Snijders
Brad Campbell schreef: > > Ok, I did a svn up, make distclean ; make LCL_PLATFORM=gtk2 all .. and it's > still not working. > > It's still giving precisely the output above.. with > CmdLine="/opt/cross/bin/ppc386".. I'm sure that > should just be /opt/cross/bin/fpc and it will figure it out fr

Re: [Lazarus] Cross compiling a package woes..

2008-10-01 Thread Brad Campbell
Mattias Gärtner wrote: > The CPU override was not used for projects. Fixed in 16831. > > You can use 'fpc' instead of 'ppc386'. This will call ppc386 or ppcppc or > whatever automatically. I see... ppc386 was in my lazarus config.. fixed that.. then got this.. [EMAIL PROTECTED]:~/devel/fpc/Proj

Re: [Lazarus] Cross compiling a package woes..

2008-10-01 Thread Brad Campbell
Mattias Gärtner wrote: > Zitat von Henry Vermaak <[EMAIL PROTECTED]>: > >> 2008/10/1 Brad Campbell <[EMAIL PROTECTED]>: >>> G'day all, >>> >>> I'm using the latest FIXES_2.2 branch of FPC and lazarus svn from about 10 >>> minutes ago. >>> I usually compile lazarus from SVN, then compile again with

Re: [Lazarus] Cross compiling a package woes..

2008-10-01 Thread Mattias Gärtner
Zitat von Henry Vermaak <[EMAIL PROTECTED]>: > 2008/10/1 Brad Campbell <[EMAIL PROTECTED]>: > > G'day all, > > > > I'm using the latest FIXES_2.2 branch of FPC and lazarus svn from about 10 > > minutes ago. > > I usually compile lazarus from SVN, then compile again with > > make idepkg > > to get

Re: [Lazarus] Cross compiling a package woes..

2008-10-01 Thread Henry Vermaak
2008/10/1 Brad Campbell <[EMAIL PROTECTED]>: > G'day all, > > I'm using the latest FIXES_2.2 branch of FPC and lazarus svn from about 10 > minutes ago. > I usually compile lazarus from SVN, then compile again with > make idepkg > to get my packages included. It's worked for me thus far, but now I

[Lazarus] Cross compiling a package woes..

2008-10-01 Thread Brad Campbell
G'day all, I'm using the latest FIXES_2.2 branch of FPC and lazarus svn from about 10 minutes ago. I usually compile lazarus from SVN, then compile again with make idepkg to get my packages included. It's worked for me thus far, but now I want to cross compile I can't figure out how to go about

Re: [Lazarus] Cross compiling : PPU Invalid Version 78...

2008-03-17 Thread Dominique Louis
Vincent Snijders wrote: > This means that you are using a different compiler than the one you used > to compile the graphics.ppu unit. I suggest to recompile the LCL with > your current compiler. Ah ok, it seems the lcl was compiled with the previous version of compile, while now it is compilin

Re: [Lazarus] Cross compiling : PPU Invalid Version 78...

2008-03-17 Thread Vincent Snijders
Dominique Louis schreef: > Hi all, >I've created the ppcppc PowerPC compiler. But when I try to compile > my project via the command line I get an > "PPU Invalid Version 78" > on the file... > .../units/powerpc-darwin/graphics.ppu > > How can I fix get this PPU so that it is a valid version?

[Lazarus] Cross compiling : PPU Invalid Version 78...

2008-03-17 Thread Dominique Louis
Hi all, I've created the ppcppc PowerPC compiler. But when I try to compile my project via the command line I get an "PPU Invalid Version 78" on the file... .../units/powerpc-darwin/graphics.ppu How can I fix get this PPU so that it is a valid version? Thanks, Dominique. _