Error when i compile Save hack Source from Wintermute

support for the ARM toolchain
Post Reply
DragonRider
Posts: 9
Joined: Fri May 13, 2011 5:32 pm

Error when i compile Save hack Source from Wintermute

Post by DragonRider » Tue May 17, 2011 7:31 pm

Hello,
when i will compile the source of the save hack from Wintermute this error came:
cc cooksum.c -o cooksum
make: cc: Command not found
make: *** [cooksum] Error 127

I used this source:
https://download.github.com/WinterMute- ... 938.tar.gz

Can anyone help me?
Sorry for my bad english :(

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

Re: Error when i compile Save hack Source from Wintermute

Post by WinterMute » Wed May 18, 2011 1:10 am

You'll need to have MinGW installed and add CC := gcc to the Makefile.

Sorry, I've never checked this with windows.
Help keep devkitPro toolchains free, Donate today

Personal Blog

DragonRider
Posts: 9
Joined: Fri May 13, 2011 5:32 pm

Re: Error when i compile Save hack Source from Wintermute

Post by DragonRider » Wed May 18, 2011 1:38 pm

thanks !
Sorry for my bad english :(

DragonRider
Posts: 9
Joined: Fri May 13, 2011 5:32 pm

Re: Error when i compile Save hack Source from Wintermute

Post by DragonRider » Thu May 19, 2011 1:34 pm

i have tested it but i get this error:
C:\devkitPro\Projekte\WinterMute-CookHack-b933938>build
arm-eabi-gcc -x assembler-with-cpp -DUSA -nostartfiles -nostdlib cookhack.s -o c
ookhack.elf
C:\Program Files (x86)\Dev-Cpp\bin\gcc.exe cooksum.c -o cooksum
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `C:\Program Files (x86)\Dev-Cpp\bin\gcc.exe cooksum.c
-o cooksum'
make: *** [cooksum] Error 2
:(

i have add
CC := C:\Program Files (x86)\Dev-Cpp\bin\gcc.exe
because when i write gcc it tell me Not found...
Sorry for my bad english :(

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

Re: Error when i compile Save hack Source from Wintermute

Post by WinterMute » Fri May 20, 2011 12:37 pm

You can't install gnu tools in paths with spaces or brackets, things go wrong with the path searching. I tend to recommend that people stay away from dev-cpp, in my experience it causes problems with projects intended to be cross platform.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest