Mail Archives: djgpp-workers/1998/04/22/14:34:22
Hey Guys -
Has anybody out there gotten automatic template instantiation
working in either gcc 2.8, 2.8.1, or pgcc/egcs?
The reason I ask is that a pgcc user has recently reported being
unable to get it working and after looking through the documentation
I think that it won't work without collect2. I know when I proposed
using collect2 to fix the -fexceptions problem that there were some
reservations here to just wanted to see what if any other options existed.
Here is what I know -
Borland style collapsing by the linker is only supported for ELF and
Windows NT object files. No coff support.
-frepo (which should theoretically compile any code written for the
borland model), needs collect2 to process the repository files
during the link step to insure instantiation.
Of course, the old #pragma style will still work, but I suspect
that some (most) people will want to go to the new auto style.
I have collect2 from egcs 1.0.1 ported over so that it runs and
doesn't run time crash at all, but it doesn't actually do anything
useful yet (it still invokes the old linker fine AFAIK). How to distribute
and install is still an issue, as normally ld.exe would be copied to
real-ld.exe and then collect2.exe would install itself as ld.exe.
Thanks for any input
Andy
--
_______ ___________________________________________________________
/ Andrew Crabtree
/ Workgroup Networks Division
____ ___ / Hewlett-Packard
/ / / / Roseville, CA
__/ __/ _____/ 916/785-1675
/ andrewc AT rosemail DOT rose DOT hp DOT com
___________ __/ _____________________________________________________
- Raw text -