Text Pad and C

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Tru_Messiah
Posts: 2
Joined: Mon Jun 07, 2004 4:44 pm

Text Pad and C

Post 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...
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post 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++)
I choose to fight with a sack of angry cats.
Tru_Messiah
Posts: 2
Joined: Mon Jun 07, 2004 4:44 pm

Post 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...
bgclarke
Posts: 24
Joined: Tue Oct 14, 2003 4:18 pm
Location: Ottawa, Canada

Post 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.
Post Reply