[Aurora-sparc-devel] Re: rpm and building sparc64 variants

Christian Joensson christian.joensson at gmail.com
Tue May 23 04:34:23 EDT 2006


On 5/18/06, Christian Joensson <christian.joensson at gmail.com> wrote:
> Just a mind note, due to the little bit funny way gcc for
> sparc64-linux on Aurora is configured, ie. --with-cpu=v7, thus in the
> env sparc64 the system compiler defaults to produce 32 bit varint code
> (v7 actually), we get a few problems... like the need to set, and
> adhere to CC='gcc -m64' and the like in our build envoronment,
>
>
> Is there a host central place, rpm configury wise, to set these for
> rpmbuild --target=sparc64?

I notice that if I rpmbuild for --target=sparc64, I often, maybe as a
rule, get --build --host as sparc-linux, but --target as
sparc64-linux.... is this the actual way "we" want it? I would have
guessed that we would have wanted the same triplet for all, ie.,
sparc64-linux (or whatever equivalent but longer... such as
sparc64-unknown-linux-gnu or sparc64-redhat-linux-gnu)

I suspect that having --target=sparc64 with --build and --host as
sparc can confuse a few packages.... especially "low-level/close to
kernel" ones... if you understand what I mean...

-- 
Cheers,

/ChJ


More information about the Aurora-sparc-devel mailing list