Re: Latest stable gcc & Co.

Andrea Venturoli <[email protected]> Tue, 25 Nov 2003 01:07:31 EST
Newsgroups gmane.comp.ide.emx.devel
Message-ID <[email protected]>
** Reply to note from Stefan Neis <neis-RCUrBZHvLvKSHq+C5vT0LZQlNPQFfrerqZSUQi4AVrg@public.gmane.org> Sun, 23 Nov 2003 19:28:07 +0100 (CET)


> Well, if you considered emx + pgcc + posix2(a.k.a. libext) as stable 
> enough, then go for emx + gcc-3.2.1 + posix2.

Ok, after your suggestion I tried the above stack:
it turned out that most undefined reference were due to an old ld.exe in my path (the one that comes with gcc-3.2.1
supports weak symboles, the older did not);
I had to modify libext a bit because I was getting 'abs' being defined twice in m.a and an object file that comes from
a source of mine;
in the end, however, I got to link me exe.

Now it crashes and I've found it's because dynamic_cast does not work as expected, but always returns null.
The same source with the same switches and the same environment works with pgcc-2.95.2 and I also tried adding -frtti,
but it was useless.

Is there something I should do to enable rtti?
Any other ideas?

 bye & Thanks
        av.