Re: How to compile glibc?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Meelis Roos <mroos@xxxxxxxx>
Date: Thu, 18 Jun 2015 11:45:13 +0300 (EEST)

> I read DeaveM's post about upstream glibc probably having working 
> optimizations for post-ultrasparcIII CPUs and decided that I should give 
> the latest upstream glibc a try.
> 
> However, I do not understand how should I configure it for mostly-32-bit 
> Debian but with optimized versions for different CPUs.
> 
> --host=sparc64-linux-gnu or --host=sparc-linux-gnu?

You want to use --target=sparcv9-linux-gnu and have multiarch
enabled and run the build under "sparc32 bash" environment where
'uname' returns plain 'sparc'.

For 64-bit builds I use just plain:

	CC="gcc -m64" CXX="g++ -m64" ./configure

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux