|
From: | UnknownGamer40464 |
Subject: | Re: [Tinycc-devel] missing dlfcn.h but defined in tcclib.h, also missing RTLD_LOCAL |
Date: | Tue, 14 Jul 2020 05:34:13 -0400 |
Hi,dlfcn provides declarations for functions dlopen/dlsym/dlclose that allow to dynamically load a shared lib at runtime on unix systems.Windows uses a similar but different interface to load DLL (which are different from .so shared libs).Hence, you don't need dlfcn.h on Windows.Systems like mingw/cygnwin add some unix compatibiliy on Windows. This is not the case with tcc which supports only C standard and most Windows API on Windows.C._______________________________________________Le : 14 juillet 2020 à 05:27 (GMT +02:00)
De : "UnknownGamer40464" <modernwarfare3minecraft64@gmail.com>
À : "tinycc-devel@nongnu.org" <tinycc-devel@nongnu.org>
Objet : [Tinycc-devel] missing dlfcn.h but defined in tcclib.h, also missing RTLD_LOCALIs there any reason dlfcn.h is missing (at least on windows) and yet its functions and macrosare defined in tcclib.h, and that tcclib.h references it in a comment as if it were a file?I also noticed RTLD_LOCAL was missing but it seems likeit should just be 0x000 since, according to oracle man pages,local is the default option.I see this on a windows build of 50abaae, which I'm using, and in windows mob.Thanks.
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Prev in Thread] | Current Thread | [Next in Thread] |