Forum > Windows (32/64)

How to create 32bit application with 64bit Lazarus

(1/4) > >>

ddusann:
Hello,
I have installed lazarus 32bit first and then lazarus 64bit. Now when I set the Target OS to Win32 and Target CPU to i386, then I get error during compilation:

Error: ppc386.exe can't be executed, error message: Failed to execute ""ppc386.exe"  -B -MObjFPC -Sgi -O1 -TWin32 -gl -WG -vewnhi -l -FiC:\Users\Du?an\Desktop\RW\blueprintCDSignalRenamer\ -FuF:\Programy\Lazarus64\lcl\units\i386-win32\ -FuF:\Programy\Lazarus64\lcl\units\i386-win32\win32\ -FuF:\Programy\Lazarus64\packager\units\i386-win32\ -FuC:\Users\Du?an\Desktop\RW\blueprintCDSignalRenamer\ -Fu. -oBlueprint_CDSignal_Changer.exe -dLCL -dLCLwin32 project1.lpr

I'm not sure if I do it good.. could you help me how to do it? Thanks :)

( 64bit application is made without errors )

theo:
http://wiki.lazarus.freepascal.org/Cross_compiling

ddusann:
I've read it, but I don't understand what exactly I have to do :-( Option from Windows to windows isn't there..

theo:
I don't know either.
Simple solution would be to install an additional 32bit Lazarus.
I've never done it on Windows. Probably back up your config before you do that.

Then start each version with:
lazarus --primary-config-path=<path>\lazarus2
See:
http://www.mail-archive.com/lazarus@lists.lazarus.freepascal.org/msg03720.html
http://wiki.freepascal.org/Multiple_Lazarus (Unix only afaics)

Maybe someone else can give you a better answer.

ddusann:
Hmm, I though it is easier.  %)

Navigation

[0] Message Index

[#] Next page

Go to full version