473,499 Members | 1,539 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 2917
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.net/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***********************@news.wanadoo.fr> jacob navia <ja***@jacob.remcomp.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.com>...
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.net/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********@yahoo.com) (cb********@worldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!
Nov 14 '05 #10
In <41***************@yahoo.com> CBFalconer <cb********@yahoo.com> writes:
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).
As usual, you forgot to engage your brain before posting. From the OP's
request:

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.
^^^^^^^
I'm sure even you could tell the difference between the (extended) DOS
executables generated by DJGPP and Windows applications, if you try hard
enough.
Again,
the base compiler is gcc. There are some limitations, but again
the overall effect is much like having a Unix/Linux available.
Which is of no (apparent) interest to the OP. He wants to play with
Windows Open Source software.
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.
Finding a genuine 16-bit PC these days would be quite a feat...

Except for the fans of MSDOS and its clones, there is precious little
point in preferring DJGPP to the other gcc-based alternatives available
for Windows.

Once upon a time, the fact that it took less disk space than other
gcc ports did matter. Today, when 1 GB of disk space is less than
1 Euro/USD (being tired of making backups on DVDs, I have recently
bought a 160 GB *external* disk for 129 Euro), saving a few (or even
a few dozen) megabytes is no longer a relevant issue when choosing
one compiler over another.
I have the following packages installed at the present, some of
which (eg txt, fil, dif, bnu) contain multiple utilities:


You must have a severe ego problem if you believe that anyone else cares
about what you have installed or whom you're plonking.

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Currently looking for a job in the European Union
Nov 14 '05 #11
CBFalconer <cb********@yahoo.com> wrote in message news:<41***************@yahoo.com>...

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.


Thanks for mentioning it. I have never heard of DJGPP before -- I
will also check it out.

Hugh,
Nov 14 '05 #12
"Hugh Cowan" <hw*****@hotmail.com> wrote in message
news:46*************************@posting.google.co m...
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.


I won't recommend one compiler over another, but I can eliminate
your objection about remembering the switches: You can write
batch files to 'remember' them for you.

-Mike

Nov 14 '05 #13
In <iy****************@newsread1.news.pas.earthlink.n et> "Mike Wahler" <mk******@mkwahler.net> writes:
"Hugh Cowan" <hw*****@hotmail.com> wrote in message
news:46*************************@posting.google.c om...
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.


I won't recommend one compiler over another, but I can eliminate
your objection about remembering the switches: You can write
batch files to 'remember' them for you.


And, once you get used to make files, you can simply put them in your
template make file (the file you use when creating a make file "from
scratch").

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Currently looking for a job in the European Union
Nov 14 '05 #14
Jim
On 6 Oct 2004 11:22:49 -0700, hw*****@hotmail.com (Hugh Cowan) wrote:
anyone that I didn't
mention


http://www.openwatcom.org/

I can build lots of my Windows software using that.

Jim
Nov 14 '05 #15

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

Similar topics

188
8227
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...
7
5882
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: ...
6
2702
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...
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...
55
12740
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...
1
4113
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...
48
4878
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...
41
18053
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
0
7130
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7007
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7220
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...
1
4918
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4599
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...
0
3090
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1427
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 ...
1
664
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
295
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...

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.