[uClinux-dev] Re: [uClibc] [PATCH] fix libptrhead build for m68k
Erik Andersen
andersen at codepoet.org
Mon Oct 6 04:40:14 UTC 2003
On Sun Oct 05, 2003 at 09:08:41PM -0600, Manuel Novoa III wrote:
> On Sun, Oct 05, 2003 at 11:02:11PM -0400, D.Jeff Dionne wrote:
> > On Sunday, October 5, 2003, at 10:43 PM, Erik Andersen wrote:
> > >On Mon Oct 06, 2003 at 01:06:25AM +0200, Bernardo Innocenti wrote:
> > >>The real reason for this exception is that uClinux binaries
> > >>are not linked with crtbegin.o/crtend.o.
> > >
> > >Why? Without them, how will constructors and destructors work?
> >
> > Which means stdio busted... And on 68k the A5 world might not be right,
> > etc...
> > You certainly do need the C Run Time init code!
>
> The libc init code is not dependent on constructor/destructor support
> since that support is configurable.
Right. Only the pthread code provided by uClibc directly uses
ctor/dtors. But if uClibc is used to compile libstdc++, it won't
work at all if ctor/dtors are not working which will certainly
take all the fun out of C++ applications.
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list