This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: why are stl template classes not mangled as other classes and templates
On Tue, Nov 27, 2007 at 06:39:09PM -0000, Dave Korn wrote:
> > joking aside, we need to generate ELF object files for running on windows.
>
> OK, you are now attempting something very very wrong indeed. The win32
> version of the assembler will not generate ELF files, and even if it did,
> windows cannot make any use of the ELF format, it uses PE-COFF. And the
> output file format has absolutely nothing to do with whether or not the
> symbols have leading underscores, so claiming that you have to use
> -fleading-underscores because you need to generate ELF files is a
> non-sequitur.
Please give them a little credit. I would assume they're using an
i386-elf compiler and have some mechanism of their own to make the ELF
files run.
--
Daniel Jacobowitz
CodeSourcery