Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
howtos:win32:crosscompile [2016/03/13 15:47] – Moved from https://www.geany.org/Support/CrossCompile - needs heavy update enrico | howtos:win32:crosscompile [2022/11/19 12:02] (current) – Update tags enrico | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP center round important 60%> | ||
+ | Moved from https:// | ||
+ | The information are heavily outdated and need to be adjusted for MSYS2. | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ====== Cross Compiling on Linux to build Geany for Windows ====== | ||
+ | |||
+ | ===== Getting the files ===== | ||
- | Setting up a cross compiler on Linux to build Geany for Windows | ||
- | Getting the files | ||
You need the following files: First the compiler with all related tools(binutils, | You need the following files: First the compiler with all related tools(binutils, | ||
Line 8: | Line 16: | ||
Furthermore, | Furthermore, | ||
- | Libiberty | + | |
+ | ==== Libiberty | ||
And don't forget to get a newer version of libiberty. The one included in the binary archive is missing some symbols which are needed. A working version can be found here: http:// | And don't forget to get a newer version of libiberty. The one included in the binary archive is missing some symbols which are needed. A working version can be found here: http:// | ||
- | Unpacking the files | + | |
+ | === Unpacking the files === | ||
Now, after downloading the files, they have to be extracted. Start with the precompiled binaries. Extract them somewhere to your filesystem, I recommend / | Now, after downloading the files, they have to be extracted. Start with the precompiled binaries. Extract them somewhere to your filesystem, I recommend / | ||
Line 18: | Line 30: | ||
The file libiberty.a.gz has to be extracted to PREFIX/ | The file libiberty.a.gz has to be extracted to PREFIX/ | ||
- | Setting up the environment | + | |
+ | == Setting up the environment | ||
First, go to PREFIX/ | First, go to PREFIX/ | ||
Line 28: | Line 42: | ||
Don't forget to adjust your paths. The other script doesn' | Don't forget to adjust your paths. The other script doesn' | ||
- | Configuring and compiling your sources | + | |
+ | == Configuring and compiling your sources | ||
You have done the job. If all went well, you can start compiling your sources. For configuring and compiling you should use the two scripts. cross-configure.sh can be used like the usual ./configure command. | You have done the job. If all went well, you can start compiling your sources. For configuring and compiling you should use the two scripts. cross-configure.sh can be used like the usual ./configure command. | ||
Line 45: | Line 61: | ||
The option --enable-gnu-regex is necessary to use the bundled regular expression implementation which is necessary to be used on Windows. | The option --enable-gnu-regex is necessary to use the bundled regular expression implementation which is necessary to be used on Windows. | ||
- | Links | + | |
+ | == Links == | ||
For more information about the toolchain and some further information and what to take care about can be found on the following sites: | For more information about the toolchain and some further information and what to take care about can be found on the following sites: | ||
Line 61: | Line 79: | ||
http:// | http:// | ||
+ | {{tag> |