Page 1 of 1
Text Pad and C
Posted: Mon Jun 07, 2004 4:55 pm
by Tru_Messiah
Basically jsut wondering how to go about writing and compiling programs in C in Textpad. I already use Text Pad when working with Java but I'm jsut not sure how to go about doing it for C...
Thanks alot...
Posted: Mon Jun 07, 2004 5:17 pm
by talleyrand
I find writing C requires a great deal of swearing, cursing, drinking and a strong infusion of prayer to whatever idols are nearby.
Compiling? That's a different kettle of fish. I suspect it'd be similar to setting up the appropriate compiler (
Borland,
GCC,
DJGPP,
g++)
Posted: Mon Jun 07, 2004 9:29 pm
by Tru_Messiah
I've downloaded the Borland compuiler and have done all the instructions given to install it correctly however when I try and compile a program it comes up with the following error...
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
C:\Documents and Settings\Mr Ben\My Documents\helloWorld.c:
Error E2133: Unable to execute command 'ilink32.exe'
Tool completed with exit code 1
I figured it was something to do with not setting up the config files correctly but everything seems to be in order.
Would it be something silly like me putting spaces in folder names?? Would that affect it anyway because that is the only thing I have done different from the instructions.
bcc32.cfg is...
-I"D:\Programes\Borland C++ Compiler\include"
-L"D:\Programes\Borland C++ Compiler\lib"
and ilink32.cfg is...
-L"D:\Programes\Borland C++ Compiler\Lib"
Which are the equivilant locations of the folders..
Anyhelp woudl be cool.. thanks...
Posted: Tue Jun 08, 2004 11:12 pm
by bgclarke
D:\Programes\Borland C++ Compiler\bin needs to be in your path, so that it can find ilink32.exe
Could also be that you have spaces in the directory name.