Re: sparc and sparc64 rpms

"Tom 'spot' Callaway" <[email protected]>
Newsgroups gmane.linux.aurora.devel
Organization Red Hat
Message-ID <1077129195.2171.63.camel@zorak>
On Wed, 2004-02-18 at 12:27 -0600, lance dillon wrote:

> So, there is a glibc and glibc64, even a zlib and zlib64.  Is it
> necessary to have a gcc and gcc64?

No. Not unless you're building something for sparc64 and linking against
gcc libs. 99.99% of cases do not.

>   How should I compile gcc to enable
> it to create both 32 and 64-bit files?  Will I have to have a separate
> 32 and 64-bit compiler, or will the same compiler do both? 

Red Hat/Fedora/Aurora gcc rpms are setup to build gcc compilers that can
generate 32 and 64 bit files. The same compiler will do both gcc -m32
and gcc -m64.

Binutils should also not require any special handling, it can do
elf32_sparc and elf64_sparc.

~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> LCA, RHCE 
Red Hat Sales Engineer || Aurora SPARC Linux Project Leader

"The author's mathematical treatment of the conception of purpose is
novel and highly ingenious, but heretical and, so far as the present
social order is concerned, dangerous and potentially subversive. Not 
to be published." -- Aldous Huxley's "Brave New World"

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.