Date/Time: Tue, 16 Jan 2018 07:58:00 +0000
Post From: How to build ACSIL study on Ubuntu/Linux
|Kiwi - Posts: 187|
Having used the SC package under wine I thought I'd try the cross compilation out ganz.
So I'm running Linux Mint 17.1 and used Synaptic to find the package you mention for Ubuntu 14.04. MinGW-w64, targetting Win32. Installed. Used your commands except the binary is installed in /usr/bin. Worked perfectly. Compiled and built in a bit faster than the SC package - measured 20%.
A much bigger advantage came when I realized I didn't need to optimize my code when I'm doing repeated tests as I build something new. So I've now got one command to build without optimization (which saves 65%) and one with optimization for the final build.
Edit: I discovered that one (or more) of my files was causing an instant SC crash (probably an array overwrite) with the crosscompiled version. I tried it with both optimized and not. Same problem. So I recompiled with the SC included compiler and the problem went away. At least until I figure out the problem I'll stay with the included compiler and sacrifice 20% on compile time.
Date Time Of Last Edit: 2015-01-14 01:02:25