ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Re: Borland? (Sdk)
Re: Borland? // SdkcableguySep 27, 1998, 5:39am
Contending with Borland C++4.0 >
Borland C++ Version 4.0 and later is radically different from Borland's earlier C language packages. Primarily, Borland C++4 is a Windows only thing. It only creates Windows programs. And unlike MS-V C++, it is extremely unforgiving if you try to write a meek old DOS program. You have to use it at the DOS prompt. Forget Windows. Forget the pretty Borland C++ programs. Forget what you spent for this turkey. Before starting, make sure that you include Borland C++'s subdirectory on your DOS search PATH. The directory that you want is \BC4\BIN. So if that is on drive C:, you want the search path to be path=c:\dos;c:\util;c:\bc4\bin The second thing to do is create a batch file that will help you automatically compile your programs. Use a text editor to create this batch file in your \bc4\bin directory.. at ECHO OFF BCC -IC:\BC4\INCLUDE -LC:\BC4\LIB %1 Save this as CC.BAT in your \BC4\BIN directory. You can now use the compiler at the DOS prompt. At the DOS prompt use the CC command to compile and link your bot.c program, c:\CC bot.c and you must use the source files extension .c or the program will not be created. The CC batch file runs Borlands C++ compiler and linker and if everything goes as planned you get your bot.exe file. [View Quote] > I have Borland C++ 4.42 programming compiler. Every time I try to compile > an SDK bot with the aw.lib file, it returns > > Linker Fatal: Bad object file record in aw.lib near module file offset > 0x0000000000. > > I don't know if I am doing anything wrong, or something isn't compatible > with my Borland environment. |