From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079042215787.tru64-unix-managers.marc@archive.invalid> From: "Tran, Duc-Chi" Date: Tue, 18 May 1999 20:09:00 +0000 To: tru64-unix-managers Subject: How to create .so library for C function X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079042215787 Duc-Chi Tran (613) 951-3626 tranduc=40statcan.ca Chief, Systems Support Section / Chef, section du soutien des syst=e8mes Industry Measures =26 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=e9s, visitez = http://www.imad.statcan.ca -----Original Message----- From: Tran, Duc-Chi Sent: Tuesday, May 18, 1999 12:36 PM To: 'Digital Unix ListServ' Subject: RE: How to create .so library for C functions Many thanks to David J. DeWolfe and Burch Seymour, who promptly helped us = = with an example and pointed us to the information in Chapter 4 of the = Digital Unix Programmer's Guide. Duc-Chi Tran (613) 951-3626 tranduc=40statcan.ca Chief, Systems Support Section / Chef, section du soutien des syst=e8mes Industry Measures =26 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=e9s, visitez = http://www.imad.statcan.ca -----Original Message----- From: Tran, Duc-Chi Sent: Monday, May 17, 1999 11:16 AM To: 'Digital Unix ListServ' Subject: How to create .so library for C functions 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=40statcan.ca Chief, Systems Support Section / Chef, section du soutien des syst=e8mes Industry Measures =26 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=e9s, visitez = http://www.imad.statcan.ca