User forums > Using Code::Blocks
Any plugin for help shortcut
Freem:
Can you post the full log, now it is full?
neo1691:
--- Quote from: Freem on September 26, 2011, 08:58:46 pm ---Can you post the full log, now it is full?
--- End quote ---
After i compile i get a
--- Code: ---build log saved as
file://
--- End code ---
message. But when i click it there are three options out there. Nothing works when o select any of them. Am i doing it right?
Alpha:
Something is incorrect with your build log. The directions in my earlier post were not exactly the method that should be used in this situation. Enable command full compiler logging as the wiki says:
--- Quote ---This is done by selecting the "Full command line" option Under menu "Settings" -> "Compiler and Debugger" -> Global compiler settings -> [the compiler you use] -> "Other Setting" tab, "Compiler logging".
--- End quote ---
Your output should look like the following (of course the names and switches will be different as I am using a different compiler).
--- Code: ----------------- Build: Release in Hello ---------------
mingw32-g++.exe -Wall -fexceptions -Os -c "C:\Hello\main.cpp" -o obj\Release\main.o
mingw32-g++.exe -o bin\Release\Hello.exe obj\Release\main.o -s
Output size is 7.00 KB
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings (0 minutes, 0 seconds)
--- End code ---
--- Quote from: neo1691 on September 25, 2011, 06:41:21 pm ---The borland compiler isnt available on the official website.
--- End quote ---
I did a bit of searching, and Borland C++ Compiler is still available, it is just that Embarcadero bought it (I guess I will fix the wiki later).
--- Quote from: neo1691 on September 25, 2011, 07:46:15 am ---My college uses Turbo C compiler and i am supposed to give my practical examination on turbo C only.
--- End quote ---
By the way, unless your college is testing you on the command-line usage of the Turbo C compiler, I would suggest you use TDM-GCC with your Code::Blocks installation, as all standards compliant compilers will compile the same set of standard source-code to an equivalently functioning program.
neo1691:
--- Quote from: Alpha on September 28, 2011, 11:37:31 pm ---Something is incorrect with your build log. The directions in my earlier post were not exactly the method that should be used in this situation. Enable command full compiler logging as the wiki says:
--- Quote ---This is done by selecting the "Full command line" option Under menu "Settings" -> "Compiler and Debugger" -> Global compiler settings -> [the compiler you use] -> "Other Setting" tab, "Compiler logging".
--- End quote ---
Your output should look like the following (of course the names and switches will be different as I am using a different compiler).
--- Code: ----------------- Build: Release in Hello ---------------
mingw32-g++.exe -Wall -fexceptions -Os -c "C:\Hello\main.cpp" -o obj\Release\main.o
mingw32-g++.exe -o bin\Release\Hello.exe obj\Release\main.o -s
Output size is 7.00 KB
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings (0 minutes, 0 seconds)
--- End code ---
--- Quote from: neo1691 on September 25, 2011, 06:41:21 pm ---The borland compiler isnt available on the official website.
--- End quote ---
I did a bit of searching, and Borland C++ Compiler is still available, it is just that Embarcadero bought it (I guess I will fix the wiki later).
--- Quote from: neo1691 on September 25, 2011, 07:46:15 am ---My college uses Turbo C compiler and i am supposed to give my practical examination on turbo C only.
--- End quote ---
By the way, unless your college is testing you on the command-line usage of the Turbo C compiler, I would suggest you use TDM-GCC with your Code::Blocks installation, as all standards compliant compilers will compile the same set of standard source-code to an equivalently functioning program.
--- End quote ---
Thanks a lot for your help Alpha. I feel that borland compiler is way outdated and given the requirements of a modern programmer, one should concentrate towards GCC for a more REAL programming. So for time being i am going to use DEV C++ (given the fact i have my practicals in one month) and after that i would switch to CODE::BLOCKS with gcc as the default compiler.
I also have C++ in the next semester so i think learning was much oriented towards learn basic programming concepts rather than learning Good compiling. I will sure learn the later in the next semester.
Again thank you and everyone for all the help.
Yet if i manage to get the compiler log i will post the log here as it will help you all to fix the bugs (if there are any bugs)
Navigation
[0] Message Index
[*] Previous page
Go to full version