[lazarus] UNSUBSCRIBE
Craig Chapman
Craig at Genieos.biz
Sun Dec 14 08:58:00 EST 2003
----- Original Message -----
From: "Marc Weustink" <marc at dommelstein.net>
To: <lazarus at miraclec.com>
Sent: Sunday, December 14, 2003 1:25 PM
Subject: Re: [lazarus] cross compile again
At 09:30 14-12-2003, LeVA wrote:
>Marco van de Voort írta:
>>>Beacuse no one replied, I thought that it might be useful to spend the
>>>whole night with googling, and searching the answers for this cross
>>>compiling :)
>>>Now it somewhat clearer for me, what should I do.
>>>I found a new howto, which explains this thing a little bit simpler.
>>>Now I realized, that lazarus need these tools (asw, dlltools etc...) to
>>>compile the project to win32. I think that those utils will be there,
>>>after I compiled my new gcc, as I read it on the web-page (am I right?).
>>>My problem is that I can not compile the new gcc(3.3.1).
>>
>>You don't need gcc. You are looking at compiling C programs cross
>>platform with gcc.
>>You don't have C programs, you have Pascal programs (FPC). So you need a
>>cross pascal compiler.
>>However it happens that FPC can generate code for all operating systems on
>>an architecture using one binary. (ppc386 in this case)
>>What you need are cross binutils. These are on ftp (freepascal.stack.nl),
>>and if you need to hand build them, see the script in the fpc source
>>repository (fpc/install/cross)
>>Then you need to compile the parts of FPC that are OS specific (the
>>libraries) for win32.
>>In the same CVS dir (fpc/install/cross) there is script that does just
that.
>
>Thanks for the lot of help, now I realized, that I already have those ldw,
>asw binaries which are needed by lazarus, because the howto told me to
>compile a new binutils. Then I just don't understand why it told me to
>compile the gcc... So I've copied those binaries to my $PATH, and set up
>lazarus to build to win32, and set up the LCL to win32.
>Please allow me to paste the lazarus's output when I try to compile my
>project to win32:
>
>-------------###-------------
>...
>...
>...
>[TCompiler.Compile] CmdLine="/home/leva/FreePascal/bin/ppc386 -Rintel
>-S2cgi -CD -Ch8000000 -OG1p1 -TWin32 -gl -XD -vewnhi -l
>-Fu/home/leva/FreePascal/Lazarus/lcl/units/
>-Fu/home/leva/FreePascal/Lazarus/lcl/units/win32/
>-Fu/home/leva/FreePascal/Lazarus/packager/units/ -Fu.
>-o/home/leva/tmp/project1.exe -dLCL /home/leva/tmp/project1.lpr"
>TOutputFilter: "Hint: Start of reading config file /home/leva/.fpc.cfg"
>TOutputFilter: "Hint: End of reading config file /home/leva/.fpc.cfg"
>TOutputFilter: "Free Pascal Compiler version 1.0.10 [2003/06/26] for i386"
>TOutputFilter: "Copyright (c) 1993-2003 by Florian Klaempfl"
>TOutputFilter: "Hint: Path "/usr/lib/fpc/1.0.10/units/win32/" not found"
>TOutputFilter: "Hint: Path "/usr/lib/fpc/1.0.10/units/win32/rtl/" not
found"
>TOutputFilter: "Target OS: Win32 for i386"
>TOutputFilter: "Compiling /home/leva/tmp/project1.lpr"
>TOutputFilter: "syswin32.pp(5,1) Hint: Conditional I386 was set at startup
>in last compilation of syswin32.pp"
>TOutputFilter: "math.pp(6,13) Hint: Conditional I386 was set at startup in
>last compilation of math.pp"
>TOutputFilter: "Compiling unit1.pas"
>TOutputFilter: "Linking /home/leva/tmp/project1.exe"
>TOutputFilter: "47 Lines compiled, 1.9 sec"
>[TCompiler.Compile] end
>NOTE: No debugger defined. Starting program without debugging ...
> EXECUTING "/home/leva/tmp/project1.exe"
> WorkingDir "/home/leva/tmp/"
>[TMainIDE.DoRunProject] END
>Xlib: unexpected async reply (sequence 0x1bef4)!
>Xlib: unexpected async reply (sequence 0x1c79a)!
>
>Gdk-WARNING **: GdkWindow 0x4a00461 unexpectedly destroyed
>
>Gdk-WARNING **: GdkWindow 0x4a00460 unexpectedly destroyed
>
>Gdk-WARNING **: GdkWindow 0x4a0045f unexpectedly destroyed
>Gdk-ERROR **: X connection to :0.0 broken (explicit kill or server
shutdown).
>
>-------------###-------------
Ehm... do I get this right here ? Are you creating a win32 executable and
running it in Linux ? That won't work.
Marc
_________________________________________________________________
To unsubscribe: mail lazarus-request at miraclec.com with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
More information about the Lazarus
mailing list