How to create .so library for C function

From: Tran, Duc-Chi <tranduc_at_statcan.ca>
Date: Mon, 17 May 1999 14:00:00 -0400

Hello Guru,

We are using Digital Alpha Unix 4.0d. We need to create a C function to
be used by an Oracle procedure. I am told by our programmers that the
Oracle procedure can call only C functions in a shared library .so
(example libspecial.so). Please help us with:

 - the cc or ld command to create a .so library.
 - anything special that we have to do with the C program.

Is a .so library in Unix equivalent to a .DLL in MS Windows? If not, what
are the differences?

Also, how can we create an .DLL in MS WinNT using a C compiler on Windows
such as Borland C++?

Many thanks.

Duc-Chi Tran (613) 951-3626 tranduc_at_statcan.ca
Chief, Systems Support Section / Chef, section du soutien des systèmes
Industry Measures & Analysis Division / Division des mesures et de
l'analyse des industries
Statistics Canada / Statistique Canada
Visit our Web Site / Visitez notre site http://www.statcan.ca
For our employees, visit / Pour nos employés, visitez
http://www.imad.statcan.ca
Received on Mon May 17 1999 - 17:58:21 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT