[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bi-arch build problem: cannot build 64-bit libs on ppc64
From: |
Peter O'Gorman |
Subject: |
Re: bi-arch build problem: cannot build 64-bit libs on ppc64 |
Date: |
Mon, 21 Jan 2008 14:43:56 -0600 |
User-agent: |
Thunderbird 2.0.0.9 (X11/20071115) |
Maynard Johnson wrote:
> Peter O'Gorman wrote:
>> Hi Maynard,
>>
>> I was hoping that your problems would all be gone :)
>>
>>
>>> That certainly helped! We're getting further than before, but now
>>> failing when building a C++ library as follows:
If you patch your ltmain.sh with this (bad hack) patch then I think it
will work.
Let me know if it does and I will work on a better patch and test case
prior to releasing 1.5.26.
Thanks,
Peter
--
Peter O'Gorman
http://pogma.com
diff -u -r1.334.2.148 ltmain.in
--- ltmain.sh 21 Jan 2008 17:47:51 -0000 1.334.2.148
+++ ltmain.sh 21 Jan 2008 20:41:14 -0000
@@ -2155,8 +2155,12 @@
$echo "$modename: warning: \`-l' is ignored for archives/objects"
1>&2
continue
fi
+ lib_compiler_search_path=
+ if test "$linkmode" = lib; then
+ test -n "$compiler_lib_search_path" &&
lib_compiler_search_path=`echo " $compiler_lib_search_path" | sed -e's! -L! !g'`
+ fi
name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
- for searchdir in $newlib_search_path $lib_search_path
$sys_lib_search_path $shlib_search_path; do
+ for searchdir in $newlib_search_path $lib_search_path
$lib_compiler_search_path $sys_lib_search_path $shlib_search_path; do
for search_ext in .la $std_shrext .so .a; do
# Search the libtool library
lib="$searchdir/lib${name}${search_ext}"
- Re: bi-arch build problem: cannot build 64-bit libs on ppc64, (continued)
- Re: bi-arch build problem: cannot build 64-bit libs on ppc64, Maynard Johnson, 2008/01/19
- Re: bi-arch build problem: cannot build 64-bit libs on ppc64, Peter O'Gorman, 2008/01/20
- Re: bi-arch build problem: cannot build 64-bit libs on ppc64, Maynard Johnson, 2008/01/20
- Re: bi-arch build problem: cannot build 64-bit libs on ppc64, Peter O'Gorman, 2008/01/20
- Re: bi-arch build problem: cannot build 64-bit libs on ppc64, Maynard Johnson, 2008/01/21
- Re: bi-arch build problem: cannot build 64-bit libs on ppc64, Peter O'Gorman, 2008/01/21
- Re: bi-arch build problem: cannot build 64-bit libs on ppc64, Maynard Johnson, 2008/01/21
- Re: bi-arch build problem: cannot build 64-bit libs on ppc64, Peter O'Gorman, 2008/01/21
- Re: bi-arch build problem: cannot build 64-bit libs on ppc64, Maynard Johnson, 2008/01/21
- Re: bi-arch build problem: cannot build 64-bit libs on ppc64, Peter O'Gorman, 2008/01/21
- Re: bi-arch build problem: cannot build 64-bit libs on ppc64,
Peter O'Gorman <=
- Re: bi-arch build problem: cannot build 64-bit libs on ppc64, Maynard Johnson, 2008/01/21
- Re: bi-arch build problem: cannot build 64-bit libs on ppc64, Peter O'Gorman, 2008/01/21