Author Topic: Nightly Build question  (Read 8552 times)

Cuitarded

  • Guest
Nightly Build question
« on: January 24, 2008, 06:17:31 pm »
In the thread about the Nightly builds, I got the impression that they do not contain the files for compiling and debugging.

However, after downloading and running the latest nightly build (Jan 21st) I am still able to compile and debug via plug-ins that came with CB.

What is the point of me downloading and installing MingW and GDB separately if they (or their ports) are included in CB?

Forgive me if the questions may sound a bit stupid.  I am fairly new to programming.

Thanks.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Nightly Build question
« Reply #1 on: January 24, 2008, 06:26:48 pm »
CB is an IDE. It is not a debugger, it is not a compiler.
In RC2 we provided that, and in the final version we probably will do this again. But it just great dependencies that should not exist.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Nightly Build question
« Reply #2 on: January 24, 2008, 06:27:23 pm »
What is the point of me downloading and installing MingW and GDB separately if they (or their ports) are included in CB?
C::B Release = C::B OR C::B + Compiler Suite
C::B nightly = C::B

C::B = IDE with compiler and debugger plugin included, which is != compiler and debugger executables included.

So as you see: the C::B nightlies do *not* ship with a compiler/debugger.

With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Cuitarded

  • Guest
Re: Nightly Build question
« Reply #3 on: January 24, 2008, 08:03:40 pm »
Quote
C::B = IDE with compiler and debugger plugin included, which is != compiler and debugger executables included.

But the plug-ins and the separate executables both provide the same functionality?  What are the differences between using the plugin vs the executable?

Thanks.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Nightly Build question
« Reply #4 on: January 24, 2008, 08:17:03 pm »
no no compiler and debugger plug-ins support to 'drive' the real compilers and or debuggers.

Cuitarded

  • Guest
Re: Nightly Build question
« Reply #5 on: January 24, 2008, 08:23:52 pm »
Ok, but with the compiler and debugger plug-in I was still able to write a simple C++ program and build an .exe (without have MingW installed).  How is that different than if I used a separate compiler?

I guess I don't understand what you mean by "support" to drive the compiler and debugger.  For all (of my) intensive purposes, the plug-in compiler and debugger and the external executables both accomplish the same thing...
« Last Edit: January 24, 2008, 08:38:27 pm by Cuitarded »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Nightly Build question
« Reply #6 on: January 24, 2008, 08:42:01 pm »
How is that different than if I used a separate compiler?
Trust me: You *do* use a separate compiler. You now have the following choices:
1.) You installed RC2 including the compiler suite and installed a nightly on top of it.
2.) You installed RC2 including compilers and believe it's a nightly - it's not.
3.) You yourself or an installer you started has installed the MinGW (or any other GCC based) compiler suite but you forgot about it or simply don't know about it.
4.) You are running e.g. Linux that has a GCC compiler suite pre-installed but you are cheating on us with the MinGW phrase (which is a compiler for Windows!).

One of the above is certainly true.

With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Cuitarded

  • Guest
Re: Nightly Build question
« Reply #7 on: January 24, 2008, 09:00:26 pm »
Ok, that makes sense then. I installed Quincy and Dev C++, one or both of which use the GNU Compiler Collection. I uninstalled Quincy, but kept Dev C++, and then came across C::B since I like the IDE and editor better...

So then I am able to use the debug and compile features in C::B because I have the GNU GCC and debugger installed? Also since I have MS Visual Studio installed I am able to see MS compilers on the pull-down list?

ie. I see a several of versions of the GNU Compiler, a Borland, Digital Mars, and Ms Visual C++ Toolkit, etc...
« Last Edit: January 24, 2008, 09:12:15 pm by Cuitarded »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Nightly Build question
« Reply #8 on: January 24, 2008, 09:49:54 pm »
Ok, that makes sense then. I installed Quincy and Dev C++, one or both of which use the GNU Compiler Collection. I uninstalled Quincy, but kept Dev C++, and then came across C::B since I like the IDE and editor better...

So then I am able to use the debug and compile features in C::B because I have the GNU GCC and debugger installed? Also since I have MS Visual Studio installed I am able to see MS compilers on the pull-down list?

ie. I see a several of versions of the GNU Compiler, a Borland, Digital Mars, and Ms Visual C++ Toolkit, etc...

You see the compilers that can be used by C::B. These are not necessarily the compilers you have installed.
That only means there are plugins that know how to communicate with the compilers, but if you want to use one of them you have to install it on your own.
« Last Edit: January 24, 2008, 09:57:42 pm by jens »

Cuitarded

  • Guest
Re: Nightly Build question
« Reply #9 on: January 24, 2008, 09:55:54 pm »
I see.  So if I try to compile / debug with one I do not have installed I will receive an error?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Nightly Build question
« Reply #10 on: January 24, 2008, 10:02:54 pm »
I see.  So if I try to compile / debug with one I do not have installed I will receive an error?

That's right.
For project "test" and Build target "Debug" you will see something like this:
Code
"test - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping...
Nothing to be done.