[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Exceptions in shared lib with icc on Linux
From: |
Martin Frydl |
Subject: |
Exceptions in shared lib with icc on Linux |
Date: |
Mon, 06 Jan 2003 17:29:04 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827 |
Hello,
I've found problem when throwing exception from shared library when
compiled with icc on Linux. I've attached a test case. The source of
this problem is probably linking against c library. Libtool uses this
command line:
icpc -shared -nostdlib .libs/sub1.o -lc -Qoption,ld,-soname \
-Qoption,ld,libshr.so.0 -o .libs/libshr.so.0.0.0
When I remove -nostdlib and -lc from command line, exe runs without
problems.
Am I doing something wrong? I've passed CC=icc CXX=icpc to configure.
I'm using CVS version of libtool.
Thanks
Martin
iccexctest.tgz
Description: GNU Zip compressed data
- Exceptions in shared lib with icc on Linux,
Martin Frydl <=