Hi! 21-Фев-2008 23:30 [EMAIL PROTECTED] (Simon Townsend) wrote to Freedos users <freedos-user@lists.sourceforge.net>:
ST> We've managed to get Borland Turbo C 2.0 to compile a large model test file ST> without error, but we need to link to an OBJ file provided by the ST> manufacturer of the card. ST> How do we tell the Borland development environemt that we need to link to ST> this OBJ ? If you mean TC IDE, then open Project menu and press F1. Then you will read: " In its simplest form, the project file is just a list of the C source file names that make up your program. " Also, take a look at examples of TC2 - there is, for example, mcalc.prj. ST> We know that the object file contains the externals we need, because if we ST> TLINK to the OBJ at the command line they get resolved, but if we link at ST> the command line, printf and various other parts of the C libraries aren't ST> getting resolved, and just linking to CL.LIB wasn't enough to resolve all ...But if you need command line, just specify required .obj file at TCC command line between source files. For example, read HELPME!.DOC, especially next topic: " Q. Why does the linker tell me that all the graphics library routines are undefined? A. TCC will not search the graphics library unless you tell it to. You should specify the graphics library on the command line. For example, to compile BGIDEMO, type TCC BGIDEMO.C GRAPHICS.LIB<Enter> " ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user