Does this (http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Compiler-neutral_setup_steps) help?
Also, did you select the compiler from the drop-down list?
I had tried the link before that you gave me. The borland compiler isnt available on the official website.
Apart from that the compiler is already selected from the drop down list.
Here are the set of error that i get:
Compiling: H:\Programming\Codeblocks tests\Matrix Operations\addition of matrices.c
h:\programming\codeblocks tests\matrix operations\addition of matrices.c:
Linking console executable: H:\Programming\Codeblocks tests\Matrix Operations\addition of matrices.exe
Error: Unresolved external '___CRTL_VCL_Init' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '___CRTL_MEM_UseBorMM' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '___CRTL_VCLLIB_Linkage' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '__ExceptInit' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external 'GetModuleHandleA' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '__startup' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '__GetExceptDLLinfoInternal' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external 'HeapAlloc' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '___CRTL_TLS_SetValue' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '___CRTL_TLS_InitThread' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '___CRTL_TLS_Alloc' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '___CRTL_TLS_GetValue' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external 'GetProcessHeap' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external 'HeapFree' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '___CRTL_TLS_ExitThread' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '___CRTL_TLS_Free' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '_scanf' referenced from H:\PROGRAMMING\CODEBLOCKS TESTS\MATRIX OPERATIONS\ADDITION OF MATRICES.OBJ
Error: Unresolved external '_printf' referenced from H:\PROGRAMMING\CODEBLOCKS TESTS\MATRIX OPERATIONS\ADDITION OF MATRICES.OBJ
Error: Unresolved external '_getch' referenced from H:\PROGRAMMING\CODEBLOCKS TESTS\MATRIX OPERATIONS\ADDITION OF MATRICES.OBJ
Error: Unresolved external '__matherr' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '__matherrl' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '__fmode' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '__argv_expand_ptr' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '__wargv_expand_ptr' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '__handle_setargv' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '__handle_exitargv' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '__handle_wsetargv' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '__handle_wexitargv' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '__fileinfo' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '__setargv__' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '__setenvp__' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Error: Unresolved external '__turboFloat' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Process terminated with status 2 (0 minutes, 1 seconds)
0 errors, 0 warnings
Checking for existence: H:\Programming\Codeblocks tests\Matrix Operations\addition of matrices.exe
Executing: C:\Program Files\CodeBlocks/cb_console_runner.exe "H:\Programming\Codeblocks tests\Matrix Operations\addition of matrices.exe" (in H:\Programming\Codeblocks tests\Matrix Operations)
Process terminated with status -1073741510 (0 minutes, 8 seconds)
C;\BORLAND|BCC55 is the path where i have installed the borland 5.5 compiler.( I got this from google)
Can you post the full log, now it is full?
After i compile i get a build log saved as
file://
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?
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 (http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F):
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".
Your output should look like the following (of course the names and switches will be different as I am using a different compiler).
-------------- 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)
The borland compiler isnt available on the official website.
I did a bit of searching, and Borland C++ Compiler (http://edn.embarcadero.com/article/20633) is still available, it is just that Embarcadero bought it (I guess I will fix the wiki later).
My college uses Turbo C compiler and i am supposed to give my practical examination on turbo C only.
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 (http://tdm-gcc.tdragon.net/) with your Code::Blocks installation, as all standards compliant compilers will compile the same set of standard source-code to an equivalently functioning program.