Re: rpm and building sparc64 variants
"Christian Joensson" <[email protected]> Tue, 23 May 2006 10:34:23 +0200
| Newsgroups | gmane.linux.aurora.devel |
|---|---|
| Message-ID | <[email protected]> |
On 5/18/06, Christian Joensson <[email protected]> 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 _______________________________________________ Aurora-sparc-devel mailing list [email protected] http://lists.auroralinux.org/mailman/listinfo/aurora-sparc-devel Aurora FAQ: http://www.ecs.soton.ac.uk/~mas01r/aurorafaq.html