Hello 

I m going to show you how you can make a dynamic(shared) stdc++ library from 
the static one.
1/ make a directory for instance : TEST
2/ go in test : copy your  usr/arm/lib/libstdc++.a.x.x.x (the static one you 
have) in the directory. 
3/ then in TEST , do 
arm-linux-ar -x libstdc++.a.x.x.x . You ll get all the *.o objects that were 
included in the static library

4/ then juste make 
arm-linux-g++ -shared -fpic -ldl -o libstdc++.x.x.x.so *.o
the you ll have the shared one ....whic is libstdc++.x.x.x.so 

Could you also help me? once we have our shared library, how I do to link my 
main with the dynamic one and prevent the arm-linux-linker from linking with 
the static one ?

Dan ABITBOL

Le Vendredi 30 Novembre 2001 14:26, Harris Landgarten a �crit :
> Does anyone have a shared version of libstdc++ for arm? I have a static
> one from the tool chain build but we are running low on flash and the
> c++ library seems to be the culprit.
>
> Harris
>
>
> _______________________________________________
> http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> Please visit the above address for information on this list.

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to