Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-01

Cross Compile: Host Linux amd64; "Guests": Linux i386, Win32, Win64

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Benito van der Zander
Show quoted text 5 lines
Using the scripts I managed to create Debian packages for Win32 crosscompiler. In this case I can not install because the package is not generated for the amd64 architecture, it is a package for the i386 architecture, this is correct?

you can install and run the i386 package on amd64, you just need to override the platform check with a --force option and some 32-bit compatibility libraries (which are imho installed as default on debian).
To cross compile with the old fpc2.2 I just installed the 64-bit linux fpc, the 32-bit linux fpc and finally the 32-bit windows fpc...

Benito

Reply by email

Osvaldo Filho
to Benito van der Zander

I have this error when i try to compile from linux64 to win32/i386: -----
The project uses target OS=Error: ppc386 can't be executed, error message: Failed to execute "ppc386", error code: 127 and CPU=Error: ppc386 can't be executed, error message:Failed to exec "ppc386", error code: 127

The system.ppu for this target was not found in FPC binary directory directories.
Make sure fpc is instaled correctly for this target and the fpc.cfg contains the right directories.
-----

I create the debian package for cross win32, install it with force-archetecture.

Where is ppc386?

2010/1/30 Benito van der Zander :

Show quoted text 23 lines
> Using the scripts I managed to create Debian packages for Win32 > crosscompiler. In this case I can not install because the package is > not generated for the amd64 architecture, it is a package for the i386 > architecture, this is correct? > you can install and run the i386 package on amd64, you just need to override the platform check with a --force option and some 32-bit compatibility libraries (which are imho installed as default on debian). To cross compile with the old fpc2.2 I just installed the 64-bit linux fpc, the 32-bit linux fpc and finally the 32-bit windows fpc... Benito -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email