On 09/21/2011 09:38 AM, Holger Hans Peter Freyther wrote:
>>  My debian friend says... one can use:
>>
>>  $ ls/lib/`gcc -print-multiarch`/libc*.so
>>  /lib/x86_64-kfreebsd-gnu/libc-2.13.so
>>  /lib/x86_64-kfreebsd-gnu/libcidn-2.13.so
>>  /lib/x86_64-kfreebsd-gnu/libcrypt-2.13.so
Okay -print-multiarch is only in gcc 4.6 of debian unstable, Ubuntu has a
messed up gcc 4.5 without the print-multiarch option.

Then I don't care. Sorry. You don't break 20-year-old conventions and invent new toolchain options without bothering to contact upstream gcc.

>    AC_CACHE_CHECK([how to dlopen the C library], gst_cv_libc_so_name, [
>      if test $GCC = yes; then
>  -    gst_lib_path=`$CC --print-multi-os-directory $CFLAGS $CPPFLAGS`
>  +    if gcc -print-multiarch>/dev/null 2>&1; then
>  +      gst_lib_path=`$CC -print-multiarch $CFLAGS $CPPFLAGS`

this would be missing the '/lib' as print-multiarch only prints the host
triplet.. (yeah to breaking cross compilation)

It us added later, compare these:

$ gcc -print-multiarch             # on Debian unstable
x86_64-kfreebsd-gnu
$ gcc --print-multi-os-directory   # on Fedora
../lib64

Paolo

_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to