[cfe-commits] [patch] Add support for different libstdc++ search path with -m32 and -m64

Rafael Espindola espindola at google.com
Sat Oct 10 07:07:24 PDT 2009


The attached patch adds support for having different search paths for
libstdc++ in -m32 and -m64. The only targets that actually use it so
far are darwin10 (...i686-apple-darwin10/x86_64
 and  ..i686-apple-darwin10) and ubuntu 64 bits (...x86_64-linux-gnu
and ...x86_64-linux-gnu/32). All other target should be unaffected.

It would be very nice if people with other systems could run

gcc -v  -m32 t.cc 2>&1 | sed -n '/^ /p' | sed -n 2,3p
and
gcc -v  -m64 t.cc 2>&1 | sed -n '/^ /p' | sed -n 2,3p

And update the config.

Cheers,
-- 
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libstdcxx.patch
Type: application/octet-stream
Size: 10011 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20091010/4a040fe7/attachment.obj>


More information about the cfe-commits mailing list