Question about compiling

support for the powerpc toolchain
Post Reply
discobear
Posts: 1
Joined: Tue Jul 20, 2010 9:10 pm

Question about compiling

Post by discobear » Thu Jul 22, 2010 8:22 pm

Hi all,

I have a question about compiling.

I'm working on the wii smashstack exploit.. for PAL wii's. But when i will compile the whole thing.. it gives a error.

> "make"
LINK loader.elf
OBJCOPY loader.bin
rm -f ../loader/loader.elf
make -C ../loader baddr="9253c8e0"
LINK loader.elf
OBJCOPY loader.bin
python make_87.py 9253c8e0 u-sd.lz7
make[1]: python: Command not found
make[1]: *** [u-sd.sb] Error 127
"make": *** [all] Error 2

> Process Exit Code: 2
> Time Taken: 00:01

I'm using the latest version of devkitppc..

How can i compile python in devkitppc

The makefile is:

bins := u-sd.bin u-nand.bin
bins := $(addprefix bins/,$(bins))
all: $(bins)
bins/u-sd.bin: baddr := 9253c8e0
bins/u-nand.bin: baddr := 92550ea0
base = $(basename $(notdir $@))
clean:
rm -f *.sb *-*.bin *.lz7 encrypt.bin bins/*
%.sb:
rm -f ../loader/loader.elf
make -C ../loader baddr="$(baddr)"
python make_87.py $(baddr) $(base).lz7
cat 8.intro $(base).lz7 > $(base).sb
rm -f $(base).lz7
python brawl-cksum.py -n $(base).sb $@

bins/%-nand.bin: %-nand.sb
python sbs.py $<
openssl enc -aes-128-cbc -K 9265471a9cbf3d568a13d3c481532c18 -iv 4e0341dee6bbaa416419b3eae8f53bd9 -in encrypt.bin -out "$@"

bins/%-sd.bin: %-sd.sb
openssl enc -aes-128-cbc -K ab01b9d8e1622b08afbad84dbfc2a55d -iv 4e0341dee6bbaa416419b3eae8f53bd9 -in $(base).sb -out $@


Please help me:)

Kind Regards,
Erwin

WinterMute
Site Admin
Posts: 1860
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Question about compiling

Post by WinterMute » Fri Jul 23, 2010 11:30 am

You don't need to compile Python with devkitPPC, you want a windows version of Python.

http://www.python.org/download/windows/

You'll probably need some windows versions of other tools as well, openssl for example.

http://www.openssl.org/related/binaries.html

google for "windows <name of missing tool>"
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests