mkotyk / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Ability to cross-compile #321

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
mintty should be cross-compileable :-)

Original issue reported on code.google.com by christer.solskogen on 18 Feb 2012 at 9:53

GoogleCodeExporter commented 8 years ago
Depends on how much work it is. How are you trying to build it, and how does it 
fail?

Original comment by andy.koppe on 8 Mar 2012 at 10:49

GoogleCodeExporter commented 8 years ago
I've installed a mingw-w64 cross compiler on my linux-system. But there is no 
way of telling make to use a different toolchain (my gcc is called 
x86_64-w64-mingw32-gcc for instance)

Original comment by christer.solskogen on 8 Mar 2012 at 11:28

GoogleCodeExporter commented 8 years ago
It's not going to work with a MinGW compiler, because mintty very much depens 
on POSIX features provided by Cygwin (or MSYS) that aren't available natively 
on Windows. If you did have a Cygwin cross compiler installed, this might work:

make cc=i686-pc-cygwin-gcc

If you don't mind me asking, why do you want to do that?

Original comment by andy.koppe on 8 Mar 2012 at 3:19

GoogleCodeExporter commented 8 years ago

Original comment by andy.koppe on 8 May 2012 at 4:30