PDA

View Full Version : Windows Cross Compiler


corneliu
2009-02-06, 11:16 AM CST
What is this windows cross compiler? Is it based on Mono?

sideways
2009-02-06, 11:37 AM CST
No, it produces native windows code.

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

Johnny Utah
2009-02-06, 11:38 AM CST
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
2009-02-06, 11:41 AM CST
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
2009-02-06, 11:51 AM CST
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
2009-02-06, 05:16 PM CST
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
2009-02-06, 05:21 PM CST
https://fedoraproject.org/wiki/Features/Windows_cross_compiler read about it here

vallimar
2009-02-07, 07:40 AM CST
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.