[maemo-developers] Toolchain upgrade? (Was: Instructions cache flush on ARM)
From: Frantisek Dufka dufkaf at seznam.czDate: Thu May 3 10:27:08 EEST 2007
- Previous message: Toolchain upgrade? (Was: Instructions cache flush on ARM)
- Next message: Toolchain upgrade? (Was: Instructions cache flush on ARM)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Siarhei Siamashka wrote: > I'm not going to statically link with glibc, but only with libstdc++ (standard > c++ library). There are a few known tricks to make gcc link with libstdc++ > statically, but dynamically with all the rest of libraries. One of them is > creating a symlink to libstdc++.a in some empty directory and specify this > directory with -L option in gcc command line. When gcc will start linking, > it will be fooled to link with a static libstdc++ library. But I guess just > killing libstdc++.so in scratchbox will do the the job. After that, the > compiler theoretically should create binaries which should run with no > problems on the device even for c++ applications. I used this trick for scummvm for IT2005. It works as long as your program does not load dynamically (directly or indirectly) some other c++ code compiled with stdc++ too e.g. when using some plugins in your application or other libraries written in C++.
- Previous message: Toolchain upgrade? (Was: Instructions cache flush on ARM)
- Next message: Toolchain upgrade? (Was: Instructions cache flush on ARM)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]