fixed now, RE: linux c++ __rethrow link error
| From: | Sam Liddicott | Date: | Tue, 23 Jan 2001 13:11:01 +0000 |
| Subject: | fixed now, RE: linux c++ __rethrow link error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44806@lists.php.net to get a copy of this message | ||
I avoid the __rethrow error by adding:
AC_ADD_LIBRARY_WITH_PATH(gcc,/usr/lib/gcc-lib/i386-redhat-linux/2.96)
to my config.m4 so that libgcc.a which contains __rethrow gets linked in.
Of course I should only add this line for the relavent platforms and I don't
know what they will be.
Should I
a) be using some gcc option to get this effect (fix autoconf)
b) perhaps provide a --with-libgcc option to config.m4 so this can be
specified where neccessary?
I'll go for option b as it makes more sense now, unless there are better
ideas.