Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making a .lib library file from a class

Status
Not open for further replies.

qednick

Programmer
Jul 26, 2002
516
US
OK, so I'm new to programming on UNIX and I haven't got a UNIX system or compiler to play with other than being able to upload my files to a UNIX web server and compiling it via telnet.

What i need to know now is how do I compile a class into a .lib file using telnet??

[rockband]
tellis.gif

programmer (prog'ram'er), n A hot-headed, anorak wearing, pimple-faced computer geek.
 
On unix, libraries compile into .a (archive - what windows calls static libraries) and .so (shared objects - what windows calls DLLs). On some systems (eg HPUX), the shared objects are called .sl. Unlike windows, you do not get a .lib and a .dll when creating a shared library: all you get is one .so.

You can build a class into a shared library but you will have to look up the man page on the compiler for it, especially if you are using templates. As you probably know by now, every compiler and linker has its own set of switches.
 
You found it?

thread208-405139 ______________________________________________________________________
TANSTAAFL!
 
Yeppers! Thanks!!
tellis.gif

programmer (prog'ram'er), n A hot-headed, anorak wearing, pimple-faced computer geek.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top