* How to create .so library for C function
@ 1999-05-17 18:00 Tran, Duc-Chi
0 siblings, 0 replies; 2+ messages in thread
From: Tran, Duc-Chi @ 1999-05-17 18:00 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* How to create .so library for C function
@ 1999-05-18 20:09 Tran, Duc-Chi
0 siblings, 0 replies; 2+ messages in thread
From: Tran, Duc-Chi @ 1999-05-18 20:09 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-05-18 20:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-18 20:09 How to create .so library for C function Tran, Duc-Chi
-- strict thread matches above, loose matches on Subject: below --
1999-05-17 18:00 Tran, Duc-Chi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox