blob: 43ae90c582b724c8b32417c614e115dd5876c30f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
I cross-compiled tlaunch on successive versions of Ubuntu Linux,
using the mingw packages gcc-mingw-w64-base, gcc-mingw-w64-i686,
g++-mingw-w64-i686, mingw-w64-common, mingw-w64-i686-dev and
binutils-mingw-w64-i686 and the included Makefile and cross-make
shell script.
Occasionally I needed to run the gdb debugger. Although Ubuntu does
have a cross-debugger, I opted for native compilation and native
debugging, using mingw gcc and gdb from the Strawberry Perl project
at http://strawberryperl.com/package/kmx/ . I compiled with the
batchfile makewin.cmd, which does not use make and does not bother
with dependency checking.
For the shell script cross-make, check that the CROSS environment
variable is right for your system.
For the batchfile makewin.cmd, check that the mingw environment
variable points to the root of your mingw installation.
Siep Kroonenberg, siepo at cybercomm dot nl
Groningen, January 2017
|