This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: g++ Question
- To: gcc-help at gcc dot gnu dot org
- Subject: Re: g++ Question
- From: Jones Wilson <burrodomo at mail dot com>
- Date: Sun, 20 Aug 2000 13:59:10 -0400 (EDT)
>I'd suggest you to look into binary compatibility problems >between the
>libstdc++ the program is linked with and the one being found at
>run-time. Try to link with -static, to make sure.
Thanks for your help, that seems to be it.
When I linked with -static it worked fine. How can I go about fixing this? I've just got the libstdc++ that came with gcc-2.95.2. Do I need to download another libstdc++ package, or add some line to ld.so.conf or something so that I can link dynamically?
I've also got another (hopefully) quick question. I installed gcc with prefix=/usr. When I compile stuff, it doesn't look for header files in /usr/local/include. I can get around it with a C_INCLUDE_PATH environmental variable, but is there some way to explicitly configure/compile gcc so that it will look there always?
Thanks again for your help.
Tom
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup