Solved

Linking files in Borland C++

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Socket Programming (Unix) 8 118
White board coding practice 3 78
How to print into std::string like sprintf using C++11? 12 48
object oriented programming comparison 5 54
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…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
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.

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now