Open64 currently does not build from source on Linux Mint 12 due to
this distro using yet another layout for 64-bit libraries and objects.

The following change corrects the issue by adding another case to the
existing check.

Index: osprey-gcc-4.2.0/gcc/config/i386/t-linux64
===================================================================
--- osprey-gcc-4.2.0/gcc/config/i386/t-linux64  (revision 3885)
+++ osprey-gcc-4.2.0/gcc/config/i386/t-linux64  (working copy)
@@ -6,7 +6,7 @@

 MULTILIB_OPTIONS = m64/m32
 MULTILIB_DIRNAMES = 64 32
-MULTILIB_OSDIRNAMES = $(shell if file /usr/lib/crti.o  -Lb |fgrep
"ELF 32-bit" >/dev/null ; then  echo  "../lib64 ../lib"; else echo
"../lib64 ../lib32" ; fi)
+MULTILIB_OSDIRNAMES = $(shell if file /usr/lib/crti.o  -Lb |fgrep
"ELF 32-bit" >/dev/null ; then  echo  "../lib64 ../lib"; elif [ -d
/usr/lib64 ] ; then echo  "../lib64 ../lib32" ; else echo
"../lib/x86_64-linux-gnu ../lib32" ; fi)

 LIBGCC = stmp-multilib
 INSTALL_LIBGCC = install-multilib


Could a gatekeeper please review?  Thanks.

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to