[dss] CPU_FLAGS for ultrasparc
Raphael Collet
raphael.collet at uclouvain.be
Tue Jul 1 14:35:20 CEST 2008
Great, thanks! I just checked it in.
Cheers,
raph
Keri Harris wrote:
> ultrasparc on linux needs specific CPU_FLAGS:
>
> g++ -march=ultrasparc -mtune=ultrasparc -O3 -fomit-frame-pointer -funsigned-char -I. -I./include -fno-exceptions -Winline -Weffc++ -Wall -Wold-style-cast -Woverloaded-virtual -Wshadow -c -o
> base.o ./src/base.cc
> cc1plus: error: unrecognized command line option "-march=ultrasparc"
> make: *** [base.o] Error 1
>
>
> --- mozart.orig/platform/dss/configure.ac 2008-07-01 08:01:06.000000000
> +0000
> +++ mozart/platform/dss/configure.ac 2008-07-01 07:58:35.000000000 +0000
> @@ -230,6 +230,10 @@
> AC_MSG_RESULT(sparc CPU)
> CPU_FLAGS="-mcpu=v8 -DBIG_ENDIAN_HOST"
> ;;
> + ultrasparc)
> + AC_MSG_RESULT(ultrasparc CPU)
> + CPU_FLAGS="-mcpu=ultrasparc -DBIG_ENDIAN_HOST"
> + ;;
> powerpc)
> AC_MSG_RESULT($host_cpu architecture)
> CPU_FLAGS="-mtune=$host_cpu -DBIG_ENDIAN_HOST"
>
> Keri
> _________________________________________________________________________________
> mozart-hackers mailing list mozart-hackers at mozart-oz.org
> http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
More information about the mozart-hackers
mailing list