libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exceptions in shared lib with icc on Linux


From: Albert Chin
Subject: Re: Exceptions in shared lib with icc on Linux
Date: Tue, 7 Jan 2003 19:05:09 -0600
User-agent: Mutt/1.4i

On Mon, Jan 06, 2003 at 05:29:04PM +0100, Martin Frydl wrote:
>   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.

What if you remove only -lc?

-- 
albert chin (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]