Forum > Options

[Solved] How to set up project with multiple cross compilers?

(1/2) > >>

Pascal:
How can i set up a project where each build mode uses a different compiler (cross compiling)?

heejit:
It is very easy with fpcupdeluxe

https://github.com/newpascal/fpcupdeluxe/releases

I am using it to crosscomplie from Linux -> Win64

Pascal:
Sorry, that's not what i wanted to know.

How do i set up one Lazarus project with two build modes, where each mode uses a different compiler.
The compiler is set for all projects in the lazarus options atm.

lucamar:
I have never tried it but, can't you change the compiler in the project options? (Project Options -> Compiler Commands -> Compiler)

zeljko:

--- Quote from: Pascal on October 17, 2018, 01:25:04 pm ---How can i set up a project where each build mode uses a different compiler (cross compiling)?

--- End quote ---

Go to "Project options" -> Compiler options -> Build modes (it's on top of form), click speed button and add new build mode, in such mode you can choose different CPU (Config and Target), different name of output binary (Paths- > Target file name, also you can choose different widgetset via "Additions and overrides"

Navigation

[0] Message Index

[#] Next page

Go to full version