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 glibcversion


> Neither does Linux - by linking against a recent library you are
> *asking* for a binary that requires that library. If you understand
> that you might understand why everyone is saying you should build on the
> lowest common denominator of the systems you're targetting.
>
> If you insist on shipping executables not just source then you have to be
> prepared to make a bit more effort to make them distributable. You're
> aware of the problems, but seem to be resisting everyone's advice on how
> to avoid them.
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?




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