Groups | Search | Server Info | Login | Register
Groups > comp.os.os2.programmer.misc > #1826
| Path | csiph.com!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Paul Edwards <mutazilah@gmail.com> |
| Newsgroups | comp.os.os2.programmer.misc |
| Subject | Re: C DLL |
| Date | Sun, 18 Feb 2024 03:11:27 +0800 |
| Organization | A noiseless patient Spider |
| Lines | 40 |
| Message-ID | <uqr0d2$i8f2$1@dont-email.me> (permalink) |
| References | <uqogv4$t2l$1@dont-email.me> <uqojbs$1ac8$1@dont-email.me> <ngSzN.229273$yEgf.198939@fx09.iad> <uqp3b8$3qu6$1@dont-email.me> <667AN.338523$Wp_8.44562@fx17.iad> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Sat, 17 Feb 2024 19:11:30 -0000 (UTC) |
| Injection-Info | dont-email.me; posting-host="8f99487476e839855ee5a7cc038419c2"; logging-data="598498"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+XO0DEpCEANizpKxm3NOz8Nu7n9i/dgIA=" |
| User-Agent | Mozilla/5.0 (OS/2; Warp 4.5; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
| Cancel-Lock | sha1:0yH9h/+QEakYzoShHEXuZBIoi7s= |
| In-Reply-To | <667AN.338523$Wp_8.44562@fx17.iad> |
| Xref | csiph.com comp.os.os2.programmer.misc:1826 |
Show key headers only | View raw
On 18/02/24 02:42, Dave Yeo wrote: >> With Microsoft gone by OS/2 2.0, it would have been >> IBM with CSET/2 that set any standard for a separate >> DLL for the C runtime. > > Well, the equivalent of mingw is libcn, rebranded kLIBC which was a BSD > rewrite of EMX GPL libc. Mostly used with GCC. > The IBM compilers came with some libraries, single threaded and > multi-threaded that I forget the name of and are usually statically > linked in. > Perhaps os2386.lib is what you are looking for? It depends whether os2386.lib has the function printf etc that are very small and just create a reference to something.dll to be resolved at runtime, or whether they cause a large amount of code to be linked in that gets resolved to a DosWrite in doscalls.dll. I am after the former, not the latter. But that does sound interesting. That single-threaded library that is *usually* statically linked in - does that mean it can be dynamically linked in if desired? If so, it resolves to what DLL, and does that DLL ship with OS/2 even if you don't have the IBM compiler? > At least in GCC land, there is crt0.o and similar to be statically > linked in. I don't mind that. I just need the entire C90 library - printf, strtol, etc, to reside in an external DLL. It's normal to have a little bit of code statically linked in that will set things up to call routines in that external DLL. BFN. Paul.
Back to comp.os.os2.programmer.misc | Previous | Next — Previous in thread | Next in thread | Find similar
C DLL Paul Edwards <mutazilah@gmail.com> - 2024-02-17 04:35 +0800
Re: C DLL Paul Edwards <mutazilah@gmail.com> - 2024-02-17 05:16 +0800
Re: C DLL Dave Yeo <dave.r.yeo@gmail.com> - 2024-02-16 15:32 -0800
Re: C DLL Paul Edwards <mutazilah@gmail.com> - 2024-02-17 09:49 +0800
Re: C DLL Dave Yeo <dave.r.yeo@gmail.com> - 2024-02-17 10:42 -0800
Re: C DLL Paul Edwards <mutazilah@gmail.com> - 2024-02-18 03:11 +0800
Re: C DLL Dave Yeo <dave.r.yeo@gmail.com> - 2024-02-17 16:27 -0800
Re: C DLL Paul Edwards <mutazilah@gmail.com> - 2024-02-18 09:56 +0800
Re: C DLL xhajt03 <xhajt03@gmail.com> - 2024-02-18 07:33 -0800
Re: C DLL Paul Edwards <mutazilah@gmail.com> - 2024-02-19 10:41 +0800
Re: C DLL xhajt03 <xhajt03@gmail.com> - 2024-02-19 03:47 -0800
Re: C DLL Paul Edwards <mutazilah@gmail.com> - 2024-02-19 20:17 +0800
Re: C DLL Dave Yeo <dave.r.yeo@gmail.com> - 2024-02-19 14:31 -0800
Re: C DLL Paul Edwards <mutazilah@gmail.com> - 2024-02-20 06:47 +0800
Re: C DLL Dave Yeo <dave.r.yeo@gmail.com> - 2024-02-19 22:03 -0800
Re: C DLL Paul Edwards <mutazilah@gmail.com> - 2024-02-20 14:16 +0800
Re: C DLL Dave Yeo <dave.r.yeo@gmail.com> - 2024-02-16 15:28 -0800
Re: C DLL Marcel Mueller <news.5.maazl@spamgourmet.org> - 2024-02-17 10:11 +0100
Re: C DLL Paul Edwards <mutazilah@gmail.com> - 2024-02-17 18:00 +0800
Re: C DLL Paul Edwards <mutazilah@gmail.com> - 2024-02-17 18:03 +0800
csiph-web