John, On Fri, May 2, 2008 at 8:11 PM, John Doe <[EMAIL PROTECTED]> wrote: > > On Fri, May 2, 2008 at 12:54 PM, Mathieu Malaterre > <[EMAIL PROTECTED]> wrote: > > Hi there, > > > > Not really a cmake issue, but people maybe know the answer here... > > 1. > > I am trying to generate package for x86 linux platform, since I have > > all the multilib (lib32 thingy) I thought this should be trivial to > > cross compile for this target (this is not a true cross compilation as > > the target can be run on the host sytem). > > > > 2. > > What are the gcc flags to use the older glibc symbol so that I don't > > get report of people telling: I cannot run your executable it says: > > > > libstdc++.so.6: version `GLIBCXX_3.4.9' not found > > As far as I know you can't.
=O ... of course you can. How do you think cmake binaries is working on all kind of linux system, and even on my amd64 system via the i32 layer. > Options: > 1. Give them a copy of your libstdc++.so.6 (find with "libstdc++.so.6) > and use LD_LIBRARY_PATH or LD_PRELOAD to tell where it is. I am talking about packaging here. Shipping a libstdc++.6 that could potentially override my user libstdc++ is clearly a real bad *bad* idea ! > 2. Tell them to use the same os as you. ...seriously. Are you some kind of Microsoft spy ? What I am asking is trivial stuff, just cannot find the documentation. One straight solution is get an old linux box myself and compile my package on it... I do not have a spare box for that, nor do I want to do that. > 3. Create some sort of chroot system to replicate all of their system > libraries. I was thinking that maybe runing vmware in XEN, in another system emulation could be even better ... > 4. Give them the source code. make package != make package_source. I know how to build source package. But you cannot seriously ask a simple user to build an app like paraview to open a vtk file and then never use paraview again ... If I cannot get anything more usefull, I'll switch to using gcc 3.4.0 which is the oldest AFAIK wich implement CXX=ABI 2 for g++. I still prefer my g++4.3 (better compilation time, better optimization...). -- Mathieu _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
