Re: [lazarus] arm-linux, system.ppu not found, when creating a new project.

2007-08-21 Thread Bernd Mueller
Mattias Gärtner wrote: Zitat von Bernd Mueller <[EMAIL PROTECTED]>: -Tlinux -XParm-linux- -FDc:\windows\app\lazarus0922\fpc\2.1.4_8169\bin\arm-linux -FuC:\windows\app\lazarus0922\fpc\2.1.4_8169\units\arm-linux\ -FuC:\windows\app\lazarus0922\fpc\2.1.4_8169\units\arm-linux\* -FuC:\windows\app\laz

Re: [lazarus] arm-linux, system.ppu not found, when creating a new project.

2007-08-21 Thread Mattias Gärtner
Zitat von Bernd Mueller <[EMAIL PROTECTED]>: > >> -Tlinux > >> -XParm-linux- > >> -FDc:\windows\app\lazarus0922\fpc\2.1.4_8169\bin\arm-linux > >> -FuC:\windows\app\lazarus0922\fpc\2.1.4_8169\units\arm-linux\ > >> -FuC:\windows\app\lazarus0922\fpc\2.1.4_8169\units\arm-linux\* > >> -FuC:\windows\app

Re: [lazarus] arm-linux, system.ppu not found, when creating a new project.

2007-08-21 Thread Bernd Mueller
-Tlinux -XParm-linux- -FDc:\windows\app\lazarus0922\fpc\2.1.4_8169\bin\arm-linux -FuC:\windows\app\lazarus0922\fpc\2.1.4_8169\units\arm-linux\ -FuC:\windows\app\lazarus0922\fpc\2.1.4_8169\units\arm-linux\* -FuC:\windows\app\lazarus0922\fpc\2.1.4_8169\units\arm-linux\rtl Any hints, what could be t

Re: [lazarus] arm-linux, system.ppu not found, when creating a new project.

2007-08-20 Thread Mattias Gaertner
On Mon, 20 Aug 2007 11:18:02 +0200 Bernd Mueller <[EMAIL PROTECTED]> wrote: > Hello, > > I am using Lazarus 0.9.22 on Win32 to crosscompile to an arm-linux > target. This works pretty good, but there is still a problem. I don't > know, if this is a bug or my fault: > > Every time, I create a n

[lazarus] arm-linux, system.ppu not found, when creating a new project.

2007-08-20 Thread Bernd Mueller
Hello, I am using Lazarus 0.9.22 on Win32 to crosscompile to an arm-linux target. This works pretty good, but there is still a problem. I don't know, if this is a bug or my fault: Every time, I create a new project (Project/New Project.../Custom Program), I get the following error message:

Re: [lazarus] arm-linux

2007-08-08 Thread Henry Vermaak
On 08/08/07, Tony Maro <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-08-06 at 09:55 +0100, Henry Vermaak wrote: > which version of fpc are you using? my lcl compiles fine for gtk2 and > arm with 2.3.1. whether it works or not is another story... > > > FPC 2.0.4 - the standard "stable packages" fo

Re: [lazarus] arm-linux

2007-08-08 Thread Tony Maro
On Mon, 2007-08-06 at 09:55 +0100, Henry Vermaak wrote: > which version of fpc are you using? my lcl compiles fine for gtk2 and > arm with 2.3.1. whether it works or not is another story... FPC 2.0.4 - the standard "stable packages" for installing posted on the Lazarus site March 27th along wi

Re: [lazarus] arm-linux

2007-08-06 Thread Henry Vermaak
On 03/08/07, Tony Maro <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-08-03 at 17:52 +0200, Luca Olivetti wrote: > > > > > > > On that note, it still won't find libglib. On the device is only > > libglib-2.0.so so I assume ppcarm is trying to link to libglib-1.2 or > > some such... > > Try compiling

Re: [lazarus] arm-linux

2007-08-03 Thread Marc Santhoff
Am Freitag, den 03.08.2007, 10:37 -0400 schrieb Tony Maro: > On Fri, 2007-08-03 at 10:29 -0400, Tony Maro wrote: > > On Fri, 2007-08-03 at 11:45 +0200, Luca Olivetti wrote: > > > > > > If you're cross-compiling, you need the target libraries at hand and > > > specify the path with -Fl, then add

Re: [lazarus] arm-linux

2007-08-03 Thread Tony Maro
On Fri, 2007-08-03 at 17:52 +0200, Luca Olivetti wrote: > > > > > On that note, it still won't find libglib. On the device is only > > libglib-2.0.so so I assume ppcarm is trying to link to libglib-1.2 or > > some such... > > Try compiling for gtk2 instead of gtk1. Or find gtk1 libraries fo

Re: [lazarus] arm-linux

2007-08-03 Thread Luca Olivetti
En/na Tony Maro ha escrit: On Fri, 2007-08-03 at 10:29 -0400, Tony Maro wrote: On Fri, 2007-08-03 at 11:45 +0200, Luca Olivetti wrote: If you're cross-compiling, you need the target libraries at hand and specify the path with -Fl, then add -Xr with the path of the libraries on the target, e.

Re: [lazarus] arm-linux

2007-08-03 Thread Tony Maro
On Fri, 2007-08-03 at 10:29 -0400, Tony Maro wrote: > On Fri, 2007-08-03 at 11:45 +0200, Luca Olivetti wrote: > > > > > If you're cross-compiling, you need the target libraries at hand and > > specify the path with -Fl, then add -Xr with the path of the libraries > > on the target, e.g.: > >

Re: [lazarus] arm-linux

2007-08-03 Thread Tony Maro
On Fri, 2007-08-03 at 11:45 +0200, Luca Olivetti wrote: > > If you're cross-compiling, you need the target libraries at hand and > specify the path with -Fl, then add -Xr with the path of the libraries > on the target, e.g.: > ppcarm -Fl/directory/with/target/libraries > -Fl/other/directory/wi

Re: [lazarus] arm-linux

2007-08-03 Thread Tony Maro
> > Now I'm stuck on: > > > > Compiling project1.lpr > > Assembling project1 > > Linking project1 > > /usr/local/bin/arm-linux-ld: cannot find -lpthread > > project1.lpr(19) Error: Error while linking > > AFAIK the linker isn't able to link your program against "libpthread.so" > because it is not

Re: [lazarus] arm-linux

2007-08-03 Thread Luca Olivetti
En/na Tony Maro ha escrit: On Thu, 2007-08-02 at 18:51 -0400, Tony Maro wrote: I created a simple console app and ran the following at a command line: ppcarm -Xd -Sd -XParm-linux- project1.lpr Worked like a charm. Placing those options in the "additional options" for the compiler options in

Re: [lazarus] arm-linux

2007-08-03 Thread Henry Vermaak
On 03/08/07, Tony Maro <[EMAIL PROTECTED]> wrote: > I'm unclear of how to get the LCL built for ARM... if I try this to build > any GUI app, it won't link, complaining about an incompatible crtbegin.o > > Well I got past that with a few #ifdef in the fpc.cfg. you shouldn't have to do this. i du

Re: [lazarus] arm-linux

2007-08-02 Thread Marc Santhoff
Am Donnerstag, den 02.08.2007, 20:01 -0400 schrieb Tony Maro: > On Thu, 2007-08-02 at 18:51 -0400, Tony Maro wrote: > > I created a simple console app and ran the following at a command > > line: > > > > ppcarm -Xd -Sd -XParm-linux- project1.lpr > > > > Worked like a charm. > > > > Placing those

Re: [lazarus] arm-linux

2007-08-02 Thread Tony Maro
On Thu, 2007-08-02 at 18:51 -0400, Tony Maro wrote: > I created a simple console app and ran the following at a command > line: > > ppcarm -Xd -Sd -XParm-linux- project1.lpr > > Worked like a charm. > > Placing those options in the "additional options" for the compiler > options in Lazarus also

[lazarus] arm-linux

2007-08-02 Thread Tony Maro
I've compiled my first console program for arm-linux and ran it on my Nokai n800 tablet. I downloaded arm-linux-fpc-2.0.4.i386-linux.tar from ftp.freepascal.org and installed it. I created a simple console app and ran the following at a command line: ppcarm -Xd -Sd -XParm-linux- project1.lpr Wo