Page 1 of 1

Compiling Celestia with two free c/c++ compilers

Posted: 19.04.2007, 19:04
by duds26
Is it possible to compile Celestia with Dev-c++ Or Digital Mars c/c++ ?
And which program is the best c/c++ compiler in general?

Here is the site where Dev-c++ free compiler can be found
http://www.bloodshed.net/index.html

And here where Digital Mars c/c++ can be found.
https://www.digitalmars.com/

And then there is the GCC (GNU Compiler Collection) but there are no pictures on the site.

I've only discovered these compilers recently so I haven't tried anything yet.

Planning to do some simple programs first with Dev-c++, to get used to the basics of programming in c/c++.

Posted: 19.04.2007, 19:20
by selden
Celestia for Windows is usually compiled with a version of Visual Studio 2003. I don't know of anyone who has tried to use any other compiler. A free version may still be available.

Don't let that stop you, though!

re

Posted: 21.04.2007, 20:43
by John Van Vliet
hi it has been a while but i was compiling celestia with MinGW for a long time
just do
./config
make
make install
also i did import it to dev c++
-----------------------
BUT
Microsoft has a free cmd line c compiler

that way you wont be building a SLOW preforming MinGW Celestia

Re: re

Posted: 21.04.2007, 21:07
by duds26
john Van Vliet wrote:
Microsoft has a free cmd line c compiler

that way you wont be building a SLOW preforming MinGW Celestia


Where can it be found? This is a very good idea to try out.

re

Posted: 22.04.2007, 04:20
by John Van Vliet
hi a search of the forum would reveal this post

http://celestiaproject.net/forum/viewtopic.php?t=6255

Re: re

Posted: 30.04.2007, 11:44
by duds26
john Van Vliet wrote:also i did import it to dev c++
-----------------------
BUT
Microsoft has a free cmd line c compiler

that way you wont be building a SLOW preforming MinGW Celestia

Have u compiled Celestia (successful) with dev c++?

I assume the free cmd line c compiler is from the MS Visual C++ Toolkit 2003.
What does MinGW mean?

re

Posted: 30.04.2007, 23:13
by John Van Vliet
MinGW is a windows Linux environment ,Bash shell and all a complete -- well mostly-- Linux platform . dev c++ uses the MinGW gcc 3.4 compiler and MinGW needs to be installed for it to work properly

A quote from http://www.bloodshed.net/dev/
Bloodshed Dev-C++ is a full-featured Integrated Development Environment (IDE) for the C/C++ programming language. It uses Mingw port of GCC (GNU Compiler Collection) as its compiler. It creates native Win32 executables, either console or GUI. Dev-C++ can also be used in combination with Cygwin.


MinGW can be found hear --

http://www.mingw.org/

I used MinGW for about 2.5 years before i made the switch to Linux
Fedora 6 is my current OS .
A program built on Windows using MinGW requires the mingw.dll to act as a layer between the Linux code and the windows OS and is therefor a bit slow.
Depending on your hardware very slow or only a very little bit .