Solved

Linking files in Borland C++

Posted on 1998-09-14
4
469 Views
Last Modified: 2010-04-02
How do you link files in Borland C++ 4.5, I keep getting error messages because I have my program split in to classes, and do not know how to link them.
0
Comment
Question by:AndrewThomason
4 Comments
 
LVL 6

Expert Comment

by:WxW
ID: 1172636
What types you want to link ? DLLS ? Libraries ? Objects ?
0
 

Author Comment

by:AndrewThomason
ID: 1172637
Objects. It was developed on Linux, and runs fine, I'd just like to get an executable by running it through Borland.
0
 
LVL 11

Expert Comment

by:alexo
ID: 1172638
What's wrong with using the linker (tlink) in a similar way to UNIX?

If you compile from the IDE, you should probably create a "project" file.
0
 
LVL 1

Accepted Solution

by:
bsimser earned 30 total points
ID: 1172639
If they're object files from Linux (.o) files then you can't link them with Borland since (I assume) you're running under Windows, DOS or OS/2. You need the source files to compile then link them. Create a project in borland and add the source files to it then compile and link and you'll have your EXE.

-Bil
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question