WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Open source C compiler and IDE for Windows, recommendations?  (Read 3682 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10363
Open source C compiler and IDE for Windows, recommendations?
« on: August 04, 2011, 12:08:15 PM »
Yes, I know it's a Linux forum. However, the program I am currently working on also has to run
under Windows. If anyone out there has any personal experience with any of the open source
packages out there I would appreciate your input and advice. If you don't want to publicly admit
to writing Windows programs you can PM me.  ;D

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10701
Re: Open source C compiler and IDE for Windows, recommendations?
« Reply #1 on: August 04, 2011, 12:11:22 PM »
Run under Windows != dev under Windows. Back when I had to do that, I just had a mingw cross-toolchain setup on my linux box. It outputted .exes just fine.

I even tested under Wine. Of course final testing was under Windows proper, but I had no part in that :D
The only barriers that can stop you are the ones you create yourself.

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 646
Re: Open source C compiler and IDE for Windows, recommendations?
« Reply #2 on: August 04, 2011, 01:34:46 PM »
there is an open source C# compiler and IDE that tries
to be a CLone of Visual studio.

http://sharpdevelop.net/OpenSource/SD/

i don't know if that is any help to you

V.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10363
Re: Open source C compiler and IDE for Windows, recommendations?
« Reply #3 on: August 10, 2011, 10:59:07 PM »
Hi curaga
Thank you for your input. Compiling the Windows executable under Linux is a big plus. After Googling
to see which cross compilers are available I decided to go with mingw32. Originally I was going to
compile the cross compiler from source, but all the scripts I tried either tried to download source
packages that no longer existed or bombed after downloading the first package. One failed because
it could not find autoconfig, even though it was installed and in the path. Eventually I found several
articles that recommended a pre-compiled package at SourceForge with a 4.4.7 compiler. After
separating the socket code into two include files I can now compile the program I'm working on for
both platforms from the same source files. Thanks for your insight.

@vinceASPECT     Thanks for the link, but I'm content programming in C.