Re: Re: [UnixOS2] libc
Ilya Zakharevich <[email protected]> Mon, 23 Jun 2003 07:41:42 -0700
| Newsgroups | gmane.comp.ide.emx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jun 23, 2003 at 04:08:20PM +0200, Stefan Neis wrote: > > > It doesn't. But if you want to be able to use C++, that needs some support > > > deep in the internals of EMX. > > > > Could you elaborate on this? > > Not really, as I don't really know the details, so I'm just guessing. Well, I doubt it very much that *any* support is needed. > Anyway, exception handling with C++-code called from C-code (e.g. main()) Why main() should be the same for C and C++? It is magical anyway... Do gcc -S, and watch the output... And the extern-"C"-function of C++ should not (by definition) pass through any exceptions... > > No, it is not. At least not with most of them, who do not do any seek. > > So why do I need the non-large-file enabled stuff at all? ??? If you want to read/read more than 2G, you *must* inform the OS about this. This is what DosOpenL() is about. > > The situation is not that simple. Your forgot about linking with old > > libraries. > For C++ that's routinely broken with every gcc update, so I don't feel > a big urge to go through hoops to avoid doing it _once_ for C as well. For all the third-party libraries on your system? You just can't. Some part of them won't recompile - even if you have the source - would would not hold for some of them. Hope this helps, Ilya