logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[ruby-dev:28443] Re: SunPro compiler and rpath: msg#00031

Subject: [ruby-dev:28443] Re: SunPro compiler and rpath
桑村です。

>>>>> On Mon, 20 Mar 2006 09:39:25 +0900
>>>>> matz@xxxxxxxxxxxxx(Yukihiro Matsumoto)  said:
> 
> In message "Re: [ruby-dev:28440] SunPro compiler and rpath"
>     on Mon, 20 Mar 2006 01:13:19 +0900, Takahiro Kambe <taca@xxxxxxxxxxxxxxx> 
> writes:
> 
> |どうも、ここの
> |
> |     else
> |         enable_rpath=no
> |
> |を削除すると助かるようです。
> |
> 
> 直しておきますね。

これを削除すると、こちらでの直接コンパイル時に、ext/bigdecimalでリンク
エラーになってしまいました。[ruby-dev:27603]と現象は同じです。

調べてみると、enable_rpath=yesのとき、LIBRUBYARG_SHAREDに
  -Wl,-R -Wl,$(libdir)
を設定している個所があったので、
  -R $(libdir)
にしたところ、問題なく通りました。

とりあえず、GCC=noのときに-R $(libdir)にするパッチを添付します。
-- 
    桑村 慎哉  (株) 富士通研究所 ITコア研究所 CAD研究部
--- ../../ruby_1_8/ruby/configure.in    Mon Mar 20 10:05:15 2006
+++ ./configure.in      Mon Mar 20 10:42:54 2006
@@ -1276,7 +1277,11 @@
   esac
 fi
 if test "$enable_rpath" = yes; then
-    LIBRUBYARG_SHARED='-Wl,-R -Wl,$(libdir) -L$(libdir) -L. 
'"$LIBRUBYARG_SHARED"
+    if test "$GCC" = yes; then
+       LIBRUBYARG_SHARED='-Wl,-R -Wl,$(libdir) -L$(libdir) -L. 
'"$LIBRUBYARG_SHARED"
+    else
+       LIBRUBYARG_SHARED='-R $(libdir) -L$(libdir) -L. '"$LIBRUBYARG_SHARED"
+    fi
 fi
 
 XLDFLAGS="$XLDFLAGS -L."
Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe