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

Re: Porting packages to sparc


Thanks for you continued good work on these issues.

On Sun, Mar 12, 2006 at 04:31:55PM -0800, Jurij Smakov wrote:
> llvm		'Unsupported architecture' during configure run.
> 		A collection of libraries and tool that makes it
> 		easy to build compilers, etc.

At the moment this only builds for sparc (i.e. sparc32) due to a
restriction in the Debian build script.
It seems to me llvm itself would build for sparc64, but I cannot
verify that as I only have a sparc32 box.
The patch attached would be a start...

--- llvm-1.6/build.sh.orig	2006-03-14 12:55:50.913875992 +0000
+++ llvm-1.6/build.sh	2006-03-14 12:56:24.451375266 +0000
@@ -22,6 +22,8 @@
 sparc)  OTHER_CONFIG_OPTIONS="--target=sparc-linux"
+sparc64)  OTHER_CONFIG_OPTIONS="--target=sparc64-linux"
+        ;;
 power)  OTHER_CONFIG_OPTIONS="--target=power-linux"
 *)      echo "? unsupported architecture: \'$ARCH\'"

Reply to: