?
Solved

Linking files in Borland C++

Posted on 1998-09-14
4
Medium Priority
?
472 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 120 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
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 learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
Suggested Courses

762 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