Re: Cross-platform detection of multiarch
On 06/17/2011 10:57 AM, Jonathan Nieder wrote:
> Jan Medlock wrote:
>
>> Thanks for sending me down the right path. It looks like I should
>> just patch my local versions until Sage upgrades to Python 2.7. (And
>> even then, it'll require dpkg-dev to compile.) And multiarch was not
>> really involved...
>
> On the contrary, it has everything to do with multiarch, and I was just
> slow to see it.
>
> Anyway, you seem to understand well. Glad I could help in some small
> way.
>
> Regards,
> Jonathan
>
> gcc -print-search-dirs | grep ^libraries | cut -d= -f2- | sed -e 's/:/\
> /g' | while read line; do readlink -f $line; done
see http://bugs.python.org/issue12418
the downside is that only the directories are in that output if they exist.
so maybe it would be time for some new autoconf macros AC_CC_INCLUDE_PATH and
AC_CC_LIB_PATH, and maybe a more specific AC_MULTIARCH_NAME.
Reply to: