PDA

View Full Version : Windows Cross Compiler


corneliu
6th February 2009, 06:16 PM
What is this windows cross compiler? Is it based on Mono?

sideways
6th February 2009, 06:37 PM
No, it produces native windows code.

http://en.wikipedia.org/wiki/MinGW

Johnny Utah
6th February 2009, 06:38 PM

Did you read this?

https://fedoraproject.org/wiki/Features/Windows_cross_compiler

I imagine the compiler is written in C, but I'm not sure.

bee
6th February 2009, 06:41 PM
I've it on F10!!!!!!! :D :D :D and it works!!!! :p :D :cool:
just type:
i686-pc-mingw32-g++ file.cpp
in place of
g++ file.cpp

bye!!!!!!!!:):):)

bee
6th February 2009, 06:51 PM
Did you read this?

https://fedoraproject.org/wiki/Features/Windows_cross_compiler

I imagine the compiler is written in C, but I'm not sure.
yeah!! it's for sure not written in MONO, because i haven't mono installed!!! :cool: so it's written in C i think...or maybe a mix of C and C++! but C is more portable, so it's in C i suppose :rolleyes: :cool: :D
yum install upx mingw*but it's for F10 too, not only for F11!!!:p :D
I suggest you to run:
i686-pc-mingw32-g++ -O2 -Wall file.cpp
upx a.exeso you'll get a working EXE file for windows (and, thanks to upx, maybe not really so big...:rolleyes:)

bye!!!!!:):)

corneliu
7th February 2009, 12:16 AM
Thanks guys. Knowing that it is not based on Mono is a relief. I hope it can be removed anyway from the installation. I avoid anything that is related (even remotely) to Windows.

Demz
7th February 2009, 12:21 AM
https://fedoraproject.org/wiki/Features/Windows_cross_compiler read about it here

vallimar
7th February 2009, 02:40 PM
You don't need the mingw32 stuff unless you want to port/compile stuff for windows, withing needing windows. Nothing else should depend on it, it doesn't currently, except for its own libraries and such.

In short, if you don't need it, then don't worry about it.