libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Windows C++ support impossible?


From: Duft Markus
Subject: Windows C++ support impossible?
Date: Wed, 31 Jan 2007 10:39:14 +0100

Hi again!

While thinking about the C++ support on windows, i stumbled over a
problem i had with WGCC a while ago. C++ mangled names are not valid C
identifiers. This doesn't sound too bad, but it really is. Since they
are not valid identifiers, one cannot generate a C-source file that
contains such symbols (for example fo rthe preloaded symbol table that
libtool generates...).

Wgcc solves this, by simply generating assembler source files, where the
mangled names are valid identifiers...
Still i don't think thats an option for libtool there, since the
generated assembler sources have some restrictions (which don't matter
with the wgcc generated source, and of course apply to microsoft's
assembler ml.exe)

        * identifier may only be 247 characters long at maximum
        * lines may only be 512 charcters long at maximum.

This is somehow *bad* because when using C++, and templates in special
one runs into this very quickly.

Are there any opinions on this. Should i simply say, that this libtool
feature is not available with wgcc/windows? This would mean, that i
would have to somehow disable *all* code generation in libtool... Are
their an objections against this?

P.S.: all this really only applies to C++, C works allready in most
cases ;o)

Cheers, Markus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]