473,806 Members | 2,771 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compiler for Windows (Open Source)

Hello,

I am looking at getting a simple compiler for Windows that I can use
to play around with different Open Source software.

I am not a full-time programmer (anymore), nor do I plan to write
software either. I just want to play around and look at some of the
Open Source software that is out there for Windows.

Most of the applications are written in C, or C++ and therefore I
really just need a simple, decent compiler so that I can play around
with them.

I would prefer not to work with just a Command Line compiler as I
won't be using it everyday, and therefore won't remember all those
switches.

Some of the ones out there that I have seen are:

1. Borland Free C++ compiler (Command Line Only)
2. LCC-Win32
3. Eclipse -- CDT (C Developer Tools)
4. GCC
5. MingGW
6. CygWin

Anyone got any suggestions on which one (or anyone that I didn't
mention) would be good to use?

Thanks so much.

Hugh,
Nov 14 '05 #1
14 2957
On Wed, 06 Oct 2004 11:22:49 -0700, Hugh Cowan wrote:
Hello,

I am looking at getting a simple compiler for Windows that I can use
to play around with different Open Source software.

I am not a full-time programmer (anymore), nor do I plan to write
software either. I just want to play around and look at some of the
Open Source software that is out there for Windows.

Most of the applications are written in C, or C++ and therefore I
really just need a simple, decent compiler so that I can play around
with them.

I would prefer not to work with just a Command Line compiler as I
won't be using it everyday, and therefore won't remember all those
switches.

Go with dev-cpp or eclipse then, note that you still need gcc/mingw
installed.

Nov 14 '05 #2
Hugh Cowan wrote:

Hello,

I am looking at getting a simple compiler for Windows that I can use
to play around with different Open Source software.

I am not a full-time programmer (anymore), nor do I plan to write
software either. I just want to play around and look at some of the
Open Source software that is out there for Windows.

Most of the applications are written in C, or C++ and therefore I
really just need a simple, decent compiler so that I can play around
with them.

I would prefer not to work with just a Command Line compiler as I
won't be using it everyday, and therefore won't remember all those
switches.

Some of the ones out there that I have seen are:

1. Borland Free C++ compiler (Command Line Only)
2. LCC-Win32
3. Eclipse -- CDT (C Developer Tools)
I have not bothered with those.
4. GCC
5. MingGW
6. CygWin


These three all use the same compiler (GNU gcc).

I use both MinGW and Cygwin and they both work very well.

Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo no****@mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
Fundamentalist : Someone who is colour blind and yet wants everyone
else to see the world with the same lack of colour.
Nov 14 '05 #3
On Wed, 06 Oct 2004 11:22:49 -0700, Hugh Cowan wrote:
1. Borland Free C++ compiler (Command Line Only)
2. LCC-Win32
3. Eclipse -- CDT (C Developer Tools)
Never used any of these, and I don't think they're open source.
4. GCC
This is the only compiler in this half of the list. I like it, myself,
because it supports all of C89, a workable subset of C99, and compilers
for other languages (such as C++, Objective-C, Ada 95, Fortran, and Pascal).
5. MingGW
MinGW (Minimal GNU environment for Windows) is a collection of headers and
libraries that allow you to develop native Windows applications using the
GNU software development tools (gcc, as, ld, and so on). It's a good
complement to gcc on Windows systems.
6. CygWin


This is a way for Unix geeks to get something resembling a usable
environment on Windows computers. To be more specific, it's a collection
of GNU software (including the bash shell and a load of other userland
software) that will work (with some OS-imposed limitations) on Windows
machines. You may or may not want this, depending on how much you actually
like the Unix command line interface. It makes no difference to gcc or
MinGW.

Nov 14 '05 #4
hw*****@hotmail .com (Hugh Cowan) wrote:
Most of the applications are written in C, or C++ and therefore I
really just need a simple, decent compiler so that I can play around
with them. 2. LCC-Win32
If the comments of this one's maintainer in c.l.c are anything to judge
by, this is not worth the electrons used to store it.
4. GCC
5. MingGW
6. CygWin


I use Bloodshed's Dev-C++, which is an IDE using MingW, which is GCC. It
can also be used with CygWin. You won't need to download any of those
separately, btw; the main Dev-C++ package comes complete with the
compiler. <http://www.bloodshed.n et/devcpp.html>.

Richard
Nov 14 '05 #5
Hugh Cowan wrote:
Hello,

I am looking at getting a simple compiler for Windows that I can use
to play around with different Open Source software.

I am not a full-time programmer (anymore), nor do I plan to write
software either. I just want to play around and look at some of the
Open Source software that is out there for Windows.

Most of the applications are written in C, or C++ and therefore I
really just need a simple, decent compiler so that I can play around
with them.

I would prefer not to work with just a Command Line compiler as I
won't be using it everyday, and therefore won't remember all those
switches.

Some of the ones out there that I have seen are:

1. Borland Free C++ compiler (Command Line Only)
2. LCC-Win32


I am the author of the lcc-win32 system, so my viewpoint is biased.

lcc-win32 offers you a windowed debugger, a resource editor, what
many of the other free tools do not offer.
A resource editor allows you to graphically design dialog boxes
and windows.

It is a C compiler with some extensions (operator overloading, generic
functions and others)

The IDE of lcc-win32 has a lot of features that you will only find
in much more expensive software: Spelling correction (mistyped words are
underlined in red), goto definition, software metrics, function list,
globals usage/function, object code cross referencing, grep/diff,
project management with automatic makefile generation and dependencies
analysis, and many other features.

lcc-win32 is not open source, it is just free for you to use. You can
download the binaries at

http://www.cs.virginia.edu/~lcc-win32.

Note that the size of the whole system is very small. The whole download
is only 4MB. There is a lot of documentation, and a tutorial that
teaches you how to use the system and the C language from the ground up.

jacob
Nov 14 '05 #6
In <41************ ***********@new s.wanadoo.fr> jacob navia <ja***@jacob.re mcomp.fr> writes:
Hugh Cowan wrote:

Some of the ones out there that I have seen are:

1. Borland Free C++ compiler (Command Line Only)
2. LCC-Win32
I am the author of the lcc-win32 system, so my viewpoint is biased.


So biased that you're actually lying when talking about lcc-win32.
It is a C compiler with some extensions (operator overloading, generic
functions and others)


It is NOT a C compiler, because it doesn't conform to any commonly
accepted C specification (K&R, C89, C99). You have no right to call it
a C compiler until you get it to conform to at least one of the
specifications mentioned above. Your -ansic option simply does not work
as advertised.

The OP also mentions Open Source, BTW.

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Currently looking for a job in the European Union
Nov 14 '05 #7
Chris Barts <ch*****@gmail. com> wrote in message news:<pa******* *************** ******@gmail.co m>...
On Wed, 06 Oct 2004 11:22:49 -0700, Hugh Cowan wrote:
1. Borland Free C++ compiler (Command Line Only)
2. LCC-Win32
3. Eclipse -- CDT (C Developer Tools)


Never used any of these, and I don't think they're open source.
4. GCC


This is the only compiler in this half of the list. I like it, myself,
because it supports all of C89, a workable subset of C99, and compilers
for other languages (such as C++, Objective-C, Ada 95, Fortran, and Pascal).
5. MingGW


MinGW (Minimal GNU environment for Windows) is a collection of headers and
libraries that allow you to develop native Windows applications using the
GNU software development tools (gcc, as, ld, and so on). It's a good
complement to gcc on Windows systems.
6. CygWin


This is a way for Unix geeks to get something resembling a usable
environment on Windows computers. To be more specific, it's a collection
of GNU software (including the bash shell and a load of other userland
software) that will work (with some OS-imposed limitations) on Windows
machines. You may or may not want this, depending on how much you actually
like the Unix command line interface. It makes no difference to gcc or
MinGW.

Thanks Chris for the reply and information. Especially for CygWin --
I thought that you needed that for the GCC compiler, and wasn't sure
what the difference was between that and MinGW. You have cleared up a
number of things for me.

Thanks again,

Hugh
Nov 14 '05 #8
rl*@hoekstra-uitgeverij.nl (Richard Bos) wrote in message news:<41******* *********@news. individual.net> ...
hw*****@hotmail .com (Hugh Cowan) wrote:
Most of the applications are written in C, or C++ and therefore I
really just need a simple, decent compiler so that I can play around
with them.

2. LCC-Win32


If the comments of this one's maintainer in c.l.c are anything to judge
by, this is not worth the electrons used to store it.
4. GCC
5. MingGW
6. CygWin


I use Bloodshed's Dev-C++, which is an IDE using MingW, which is GCC. It
can also be used with CygWin. You won't need to download any of those
separately, btw; the main Dev-C++ package comes complete with the
compiler. <http://www.bloodshed.n et/devcpp.html>.

Richard


Thanks for mentioning about Bloodshed's Dev-C++ -- I think that I will
probably try that one. It's good to know that it includes everything
so I don't need to go searching around for the individual components
in order to get the thing working.

One single download sure makes things a lot easier.

Thanks again,

Hugh
Nov 14 '05 #9
Hugh Cowan wrote:
Chris Barts <ch*****@gmail. com> wrote in message
On Wed, 06 Oct 2004 11:22:49 -0700, Hugh Cowan wrote:
1. Borland Free C++ compiler (Command Line Only)
2. LCC-Win32
3. Eclipse -- CDT (C Developer Tools)


Never used any of these, and I don't think they're open source.
4. GCC


This is the only compiler in this half of the list. I like it,
myself, because it supports all of C89, a workable subset of C99,
and compilers for other languages (such as C++, Objective-C, Ada
95, Fortran, and Pascal).
5. MingGW


MinGW (Minimal GNU environment for Windows) is a collection of
headers and libraries that allow you to develop native Windows
applications using the GNU software development tools (gcc, as,
ld, and so on). It's a good complement to gcc on Windows systems.
6. CygWin


This is a way for Unix geeks to get something resembling a
usable environment on Windows computers. To be more specific,
it's a collection of GNU software (including the bash shell and
a load of other userland software) that will work (with some
OS-imposed limitations) on Windows machines. You may or may not
want this, depending on how much you actually like the Unix
command line interface. It makes no difference to gcc or MinGW.


Thanks Chris for the reply and information. Especially for
CygWin -- I thought that you needed that for the GCC compiler,
and wasn't sure what the difference was between that and MinGW.
You have cleared up a number of things for me.


You are all omitting:

7. DJGPP

Which is much like MingW or CygWin, except that the underlying OS
is MsDos (or the simulation of MsDos available on Windoze). Again,
the base compiler is gcc. There are some limitations, but again
the overall effect is much like having a Unix/Linux available. Most
of GNU has been ported to it. The system will run on non-Microsoft
systems, such as FreeDos or DRDos, but does require a '386 or
better to function.

I have the following packages installed at the present, some of
which (eg txt, fil, dif, bnu) contain multiple utilities:

bc106b.mft bnu215b.mft bsh204b.mft bsn135b.mft
cdecl25b.mft cdecl25s.mft csc154b.mft CSDPMI5B.MFT
dif28b.mft djdev203.mft ed-02b.mft ed-02d.mft
faq230b.mft fil41b.mft fil41d.mft flx254b.mft
gcc321b.mft gcc321d.mft gdb53b.mft gmp412b.mft
gmp412d.mft gpc321b.mft gpp321b.mft grep24b.mft
gro116b.mft gwk306b.mft ind225b.mft ind229b.mft
ls080b.mft ls080d.mft lss374b.mft m4-14b.mft
mak3791b.mft man13b.mft misc13b.mft pakk022b.mft
pdcur24b.mft perl561b.mft pmcom10.mft rhide15b.mft
sed3028b.mft sed3028d.mft tar112ab.mft txi47b.mft
txt20b.mft unit180b.mft unit180s.mft

Installation is extremely easy - just unzip a file. The above is
far more than needed to compile C, and <http://www.delorie.com >
will lead you to a zip picker that will select exactly what you
need for the purpose.

--
Chuck F (cb********@yah oo.com) (cb********@wor ldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home .att.net> USE worldnet address!
Nov 14 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

188
8540
by: Ilias Lazaridis | last post by:
I'm a newcomer to python: - E01: The Java Failure - May Python Helps? http://groups-beta.google.com/group/comp.lang.python/msg/75f0c5c35374f553 - I've download (as suggested) the python 2.4 installer for windows. Now I have problems to compile python extension that some packages
7
5894
by: Werner Nussbaumer | last post by:
Hello I am searching for a version of the Tiny C compiler for Windows 32. I downloaded a version from http://fabrice.bellard.free.fr/tcc/ but the make command displayed error messages: P:\DEVELOP\c2\TCC-09~1.20>make MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp. Error makefile 5: Command syntax error Error makefile 13: Command syntax error
6
2731
by: David Lack | last post by:
Hi, I recently installed a 60-day trial of .NET 2003 on my development system. I made tests with previous personal projects (which compiled ok with VC6) and some open source files, and keep facing the same problem with many of them: I keep getting errors such as: ....\WinUser.h(8028): fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)
5
388
by: George | last post by:
I'm getting an internal compiler error from Visual C++ .NET 2003 when I'm using managed extensions. Here is the error. Generating Code... c:\development\icu\source\common\uhash.c(869) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\main.c', line 148) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information ...
55
12855
by: Steve | last post by:
I have to develop several large and complex C++ hardware test programs that should work under DOS, most likely with 32-bit DOS extender. Development workstation OS would be Microsoft XP. Quite some time ago I worked in DOS, with Borland BC++ 4.1. I do not have it any more. Which compiler would you recommend me now? Which ones support serious DOS program development? Criterion should be number of available free library modules (graphic menu...
1
4130
by: keithb | last post by:
This application works without error in the development environment using the VS web server. When I publish the site to my IIS 6.0 server, I get this error at runtime when I open the Change Password page: Compiler Error Message: CS0030: Cannot convert type 'ASP.admin_changepassword_aspx' to 'System.Web.UI.WebControls.ChangePassword' Compiler Error Message: CS0030: Cannot convert type
48
4965
by: meyer | last post by:
Hi everyone, which compiler will Python 2.5 on Windows (Intel) be built with? I notice that Python 2.4 apparently has been built with the VS2003 toolkit compiler, and I read a post from Scott David Daniels where he said that probably the VS2003 toolkit will be used for Python 2.5 again. However, even before the release of Python 2.5, I cannot seem to find many retailers around here that still carry Visual Studio 2003, and some were a...
41
18236
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
0
10623
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10373
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10111
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9192
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3010
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.