[Cbe-oss-dev] [PATCH] libspe2: adapt to cross toolchain location in SDK 3.0
D. Herrendoerfer
d.herrendoerfer at herrendoerfer.name
Tue Dec 11 03:20:16 EST 2007
Hi,
I believe we could do without the absolute path and simply
put the "ppu-" prefix into the CROSS variable, and rely on
the users correct PATH.
This will remove the SDK-dependency completely, and produces
helpful error messages in case the PATH is not setup correctly
Signed-off-by: D.Herrendoerfer <herrend at de.ibm.com>
===================================================================
--- /home/stenzel/workspace/libspe/libspe2/make.defines (revision 99)
+++ /home/stenzel/workspace/libspe/libspe2/make.defines (working copy)
@@ -23,7 +23,7 @@
CROSS_COMPILE = $(shell if ! grep Broadband /proc/cpuinfo ; then echo
1 ; fi)
ifeq "$(X86)" "1"
- CROSS ?= ppu-
+ CROSS ?= ppu-
EXTRA_CFLAGS = -m32 -mabi=altivec
# RPM defined default flags may not work with this cross-compiler
override OPTFLAGS =
===================================================================
D.Herrendoerfer
On Thu, 2007-12-06 at 23:36 +0100, stenzel at de.ibm.com wrote:
> Cross toolchain of SDK 3.0 is now in /opt/cell/toolchain/
>
> Signed-off-by: Gerhard Stenzel <stenzel at de.ibm.com>
>
> ===================================================================
> --- /home/stenzel/workspace/libspe/libspe2/make.defines (revision 99)
> +++ /home/stenzel/workspace/libspe/libspe2/make.defines (working copy)
> @@ -23,7 +23,7 @@
> CROSS_COMPILE = $(shell if ! grep Broadband /proc/cpuinfo ; then echo 1 ; fi)
>
> ifeq "$(X86)" "1"
> - CROSS ?= /opt/cell/bin/ppu-
> + CROSS ?= /opt/cell/toolchain/bin/ppu-
> EXTRA_CFLAGS = -m32 -mabi=altivec
> # RPM defined default flags may not work with this cross-compiler
> override OPTFLAGS =
>
> ===================================================================
>
> Best regards,
>
> Gerhard Stenzel, Linux on Cell Development, LTC
> -------------------------------------------------------------------------------------
> IBM Deutschland Entwicklung GmbH
> Vorsitzender des Aufsichtsrats: Martin Jetter | Geschaeftsfuehrung: Herbert Kircher
> Sitz der Gesellschaft: Boeblingen | Registergericht: Amtsgericht Stuttgart, HRB 243294
>
> _______________________________________________
> cbe-oss-dev mailing list
> cbe-oss-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/cbe-oss-dev
More information about the cbe-oss-dev
mailing list