Solved

Linking files in Borland C++

Posted on 1998-09-14
4
470 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
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 viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

733 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