public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@redhat.com>
To: Alexandre Oliva <aoliva@redhat.com>,
	Mark Wielaard <mark@klomp.org>,
	        Yao Qi <qiyaoltc@cn.ibm.com>
Cc: frysk <frysk@sourceware.org>
Subject: Re: [htdocs patch] Build 64-bit frysk on PPC64
Date: Fri, 17 Nov 2006 17:32:00 -0000	[thread overview]
Message-ID: <455DF204.4040204@redhat.com> (raw)
In-Reply-To: <orveo1ebls.fsf@redhat.com>

Alexandre Oliva wrote:
> On Sep  5, 2006, Mark Wielaard <mark@klomp.org> wrote:
>
>   
>> On Tue, 2006-09-05 at 10:42 +0800, Yao Qi wrote:
>>     
>>> It is a little different on PPC64 to build a 64-bit frysk.  This patch
>>> adds some instructions for building 64-bit frysk on
>>> htdocs/build/index.html.
>>> [...]
>>> +$ ( export PKG_CONFIG_PATH=/usr/lib64/pkgconfig )
>>> +$ ( mkdir build && cd build )
>>> +$ ( CC='gcc -m64' GCJ='gcj -m64' GCJLINK='gcj -m64' CXX='g++ -m64' ../frysk/autogen.sh )
>>>       
>
>   
>> The idea seems to be that we always want a 64 bit version of frysk when
>> we are on ppc64 (and 32bit ppc isn't supported atm it seems). So doesn't
>> it make more sense to adapt autogen to recognizes this and put in the
>> right flags by default? Then the user doesn't need to remember any
>> special flags while building.
>>     
>
>   

Mark I agree with your sentiment, unfortunately its not the way autoconf 
thinks the world works, I have this horrible fealing that, strictly 
speaking, powerpc64-unknown-linux-gnu needs to also be passed to 
configure, argh!

Yao, does powerpc64-unknown-linux-gnu also need to be supplied as a 
parameter to autogen.sh?  Either way, yes please add this, and thanks.

Andrew (who wonders what could really be so wrong with wrapping that 
whole mess up in a -m64 option for frysk's autogen.sh)

> This is generally not something for autogen or the package's own build
> machinery, but rather for the RPM build machinery.  The reason is that
> the package itself should do build as closely as possible to what the
> user asks, without making surprising changes behind the user's back.
> There are presumably ppc systems that don't include 64-bit support,
> libraries, etc, so it would just break the build to try to default to
> that, especially if the system itself claims to be ppc not ppc64.
>
>   

  reply	other threads:[~2006-11-17 17:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-05  2:42 Yao Qi
2006-09-05 11:47 ` Mark Wielaard
2006-09-06  6:46   ` Alexandre Oliva
2006-11-17 17:32     ` Andrew Cagney [this message]
2006-11-18 13:16       ` Yao Qi
2006-11-20 15:46         ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=455DF204.4040204@redhat.com \
    --to=cagney@redhat.com \
    --cc=aoliva@redhat.com \
    --cc=frysk@sourceware.org \
    --cc=mark@klomp.org \
    --cc=qiyaoltc@cn.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).