Fedora Linux Support Community & Resources Center
  #1  
Old 6th February 2009, 06:16 PM
corneliu Offline
Registered User
 
Join Date: Jun 2008
Posts: 48
Windows Cross Compiler

What is this windows cross compiler? Is it based on Mono?
  #2  
Old 6th February 2009, 06:37 PM
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
No, it produces native windows code.

http://en.wikipedia.org/wiki/MinGW
  #3  
Old 6th February 2009, 06:38 PM
Johnny Utah Offline
Registered User
 
Join Date: May 2008
Location: San Francisco, CA
Age: 32
Posts: 31
Did you read this?

https://fedoraproject.org/wiki/Featu...cross_compiler

I imagine the compiler is written in C, but I'm not sure.
  #4  
Old 6th February 2009, 06:41 PM
bee Offline
Banned
 
Join Date: Jun 2008
Posts: 1,315
I've it on F10!!!!!!! and it works!!!!
just type:
i686-pc-mingw32-g++ file.cpp
in place of
g++ file.cpp

bye!!!!!!!!
  #5  
Old 6th February 2009, 06:51 PM
bee Offline
Banned
 
Join Date: Jun 2008
Posts: 1,315
Quote:
Originally Posted by Johnny Utah View Post
Did you read this?

https://fedoraproject.org/wiki/Featu...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!!! 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
Code:
yum install upx mingw*
but it's for F10 too, not only for F11!!!
I suggest you to run:
Code:
i686-pc-mingw32-g++ -O2 -Wall file.cpp
upx a.exe
so you'll get a working EXE file for windows (and, thanks to upx, maybe not really so big...)

bye!!!!!
  #6  
Old 7th February 2009, 12:16 AM
corneliu Offline
Registered User
 
Join Date: Jun 2008
Posts: 48
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.
  #7  
Old 7th February 2009, 12:21 AM
Demz
Guest
 
Posts: n/a
https://fedoraproject.org/wiki/Featu...cross_compiler read about it here
  #8  
Old 7th February 2009, 02:40 PM
vallimar Offline
Registered User
 
Join Date: Jul 2008
Posts: 1,030
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.
 

Tags
compiler, cross, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GNUARM cross compiler. EABI version error mndar Linux Chat 3 2nd May 2008 04:14 AM
gcc cross compiler for target i386-pc-mingw32 early-ehlinger Programming & Packaging 8 14th February 2008 09:10 PM
Cross compiler for ARM fixyou Programming & Packaging 7 24th January 2008 04:20 PM
Cross compiler for ARM fixyou Using Fedora 4 24th January 2008 10:33 AM


Current GMT-time: 09:43 (Monday, 21-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat