[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Fwd: Re: GNU Smalltalk and cross-building images

From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Fwd: Re: GNU Smalltalk and cross-building images
Date: Wed, 21 Sep 2011 11:28:21 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2

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/
>>  /lib/x86_64-kfreebsd-gnu/
>>  /lib/x86_64-kfreebsd-gnu/
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
$ gcc --print-multi-os-directory   # on Fedora


reply via email to

[Prev in Thread] Current Thread [Next in Thread]