At 15:23 -0500 1998-10-25, Avery Pennarun wrote:
-nostdlib disables libgcc.a also. I can specify the full path to libgcc.a, but that's totally ugly. Is there a gcc-version-independent way to say I want libc, libgcc.a, and not libstdc++?
Not as far as I know, but you can use -lgcc to link libgcc.a (glibc does it that way, so it must be OK).
-- Joel Klecker (aka Espy) <URL:mailto:jk@espy.org> <URL:http://web.espy.org/> Debian GNU/Linux user/developer on i386 and powerpc. <URL:mailto:espy@debian.org> <URL:http://www.debian.org/>