[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dynamic_cast problem yet again
From: |
Earl Purple |
Subject: |
Re: dynamic_cast problem yet again |
Date: |
14 Sep 2006 07:40:11 -0700 |
User-agent: |
G2/1.0 |
Earl Purple wrote:
> Now I'm back to a debug build with 3.2.1
>
> This won't link:
>
> ${TARGETS}: ${SOURCE}
> ${BUILD} ${INCLUDES} ${SOURCE} ${LIBPATH} ${LIBS} -Wl,-E -o ${TARGETS}
>
> /usr/ccs/bin/ld: illegal option -- E
> usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?]
> file(s)
>
> So if I can't use -Wl,-E what am I supposed to do to get dlopen and
> dynamic_cast to work properly? I am opening with RTLD_GLOBAL
Actually it seems to work even without this option. My failed cast I
got was actually because it was a bad cast.