Borland pragma to add a library


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Borland pragma to add a library

  1. #1
    jonnin Guest

    Borland pragma to add a library


    I want to use the #pragma option xyz in borlands 5.02 compiler to add a lib
    file to the link. Can someone show me this syntax? The help is not too good,
    it has - and / all mixed up, and no examples. Its something like one of these,
    but these do not work:
    #pragma option -Lc:\etc\whatever.lib,
    or
    /Lc:...
    or
    -,/L(c:..)
    It has /L for library paths and the actual lib files; its very confusing...

    I do not want to use a project to add the lib because the thing was written
    by non programmers and creating a project means a re-write of half the code.


    Thanks...

  2. #2
    Join Date
    Apr 2012
    Posts
    1
    some info about the borland compiler..
    Complete solution found for Borland C++ 5.5 linkage errors http://forums.codeblocks.org/index.php?topic=13145.0
    but, if you have a lot of files.. You probably will want to create a borland "makefile" (which I haven't yet researched..)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center