List Info

Thread: Re: problem in try..throw..catch related C++ test scenarios on MIPS arch with Netbsd 3.0




Re: problem in try..throw..catch related C++ test scenarios on MIPS arch with Netbsd 3.0
country flaguser name
Canada
2007-03-09 06:17:35
On Fri, 9 Mar 2007, Nida M wrote:
> Thank you for the information.
> but problem is , I can not change my setup of Netbsd
and compiler.
>
> I have to work on this issue with Netbsd 3.0 and gcc
3.4.4.
> Any suggestion w.r.t dynamic linker (rtld)  in netbsd
3.0 for solving
> this issue.?

Since it appears to be a libstdc++ issue, you could use the
dynamic linker 
to load a patched version of the library (ie using
LD_LIBRARY_PATH) 
before running your application. You'd just have to patch it
yourself.. 

Suppose you have:
   /usr/lib/libstdc++.so.5.0
   $HOME/lib/libstdc++.so.5.1
   $HOME/bin/myapp

Then:
   $ LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH
$HOME/bin/myapp

Should load the newer version.

Cheers,
Jared

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )