www.delorie.com/archives/browse.cgi | search |
Message-ID: | <3AA9123F.452E0FEF@ieee.org> |
From: | Tony Gahlinger <tgahling AT ieee DOT org> |
Organization: | TG&A |
X-Mailer: | Mozilla 4.75 [en] (X11; U; Linux 2.2.16 i586) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | creating a shared object in Win98 |
Lines: | 23 |
Date: | Fri, 09 Mar 2001 17:22:05 GMT |
NNTP-Posting-Host: | 24.112.106.132 |
X-Complaints-To: | abuse AT home DOT net |
X-Trace: | news4.rdc1.on.home.com 984158525 24.112.106.132 (Fri, 09 Mar 2001 09:22:05 PST) |
NNTP-Posting-Date: | Fri, 09 Mar 2001 09:22:05 PST |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
I'm in the unenviable position of having to port some C code from Linux to a Win98 environment. The code is a loadable package that can be linked dynamically into a Tcl application (the code acts as a communication link between Tcl and an Erlang application). In Linux, I created a shared object with position-indepedent code: gcc -shared mycode.c -L/my_lib_path -I/my_include_path -lmy_libs -o mycode.so -fpic Can djgpp handle this (and if so, any hints/pointers from a kind soul?) or am I consigned to install and suffer an approx. 1Gbyte of MS Visual C++ and the MSDN? Please tell me the latter ain't so! Help would be much appreciated. --Tony ----------------------------------------------------------- Tony Gahlinger & Associates Inc. Telecommunication Consultants and Software Development 48 Combermere Crescent, Waterloo ON N2L 5B1 519-888-6267 Fax: 519-888-9127 -----------------------------------------------------------
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |