On the 0x2C2 day of Apache Harmony Egor Pasko wrote: > On the 0x2C1 day of Apache Harmony Gregory Shimansky wrote: > > [snip] > > > > 3. to compile libstdc++ statically for non-x86 (for example, x86_64) > > > we need to compile libstdc++-X.a with -fPIC option by hand (because > > > it is a very rare configuration) > > > > Gentoo has libstdc++_pic.a > > cool :) > > > (e.g. /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.1/libstdc++_pic.a), maybe > > some other distros have something similar, but I agree that it is not > > a rule to have this static lib compiled with -fpic. > > > > > IMHO, the best way is to go (3) for snapshots and releases to make our > > > binaries independant of library version on the target system. But for > > > development needs the easiest way is to install both libstdc++-5 and > > > libstdc++-6. > > > > I wouldn't want to separate development from snapshots and > > releases. If there is no big reason it would be better to use the same > > environment for development as the one we use for snapshots. > > well, the difference in linking is quite small, no bugs expected, but > would make Harmony easier to install for non-professionals. So, I do > not like it so much.
oops, I mean, I _do_ like the solution of special build for snapshots for end-user simplicity. -- Egor Pasko
