Solved

Linking files in Borland C++

Posted on 1998-09-14
4
468 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
TCP/IP Socket - connection close results in data lost 14 136
Fully specialized class template function 21 136
FMX TCameraComponent Problem 2 70
Beginner to Unreal Engine 4 5 80
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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.

803 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