libtool
[Top][All Lists]
Advanced

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

Re: Libtool and CUDA


From: Peter O'Gorman
Subject: Re: Libtool and CUDA
Date: Sun, 05 Dec 2010 22:23:12 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Thunderbird/3.0.5

On 12/05/2010 09:34 PM, Ralf Wildenhues wrote:

Does this patch fix things for you?  As far as I see, you should be
getting -fPIC passed instead of -fno-common, so it's not completely
clear that this is right, or what other changes MacPorts has done to
their glibtool code over upstream Libtool.  Please also send 'glibtool
--config' output.

OK to apply?

Unless Pawel reports that it works for him, no. This doesn't make sense to me.

MacPorts doesn't appear to have patched their libtool at all:
http://trac.macports.org/browser/trunk/dports/devel/libtool/Portfile

Peter

        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
+      if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
+        _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler 
$_LT_TAGVAR(lt_prog_compiler_pic, $1)"
+      fi





reply via email to

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