This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: libgcc_s.so.1 exception handling behaviour depending on glibc version


----Original Message----
>From: Jonathan Wilson
>Sent: 20 May 2005 00:07


> On windows, it is possible to build a binary using a compiler on Windows
> XP that can then run on older versions of windows simply by not using any
> features specific to the newest versions of windows XP (or by using
> LoadLibrary and GetProcAddress to see if those features are available or
> not). Can you do the same thing on linux?


  Absolutely so, no problem: the equivalent functions are provided by the
runtime dynamic linker (ld.so):

http://www.opengroup.org/onlinepubs/009695399/functions/dlopen.html
http://www.opengroup.org/onlinepubs/009695399/functions/dlsym.html


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]