Could someone help compile Saviine, please?

Discussion in 'Wii U - Homebrew' started by Deniii, Mar 7, 2017.

  1. Deniii
    OP

    Deniii Member

    Newcomer
    47
    2
    Aug 6, 2009
    United States
    I made a small change to the Saviine source code but now I can't compile it.
    I have never worked with "Makefile" files and I don't know what to do.

    I've trying to compile it for 2 days now and I just can't.
    I've installed GNUMake, DevkitPro, GNUWin32 and Cygwin and made a mess trying to configure all these tools and nothing works.

    The closest I was from getting it to work was by copying the Saviine folder to my Cygwin home folder (C:\cygwin64\home\Username) and typing "make" (without quotes) from Cygwin64 Terminal.
    This doesn't work and here's the output:

    entry.c
    powerpc-eabi-gcc.exe: error: /home/Username/src/entry.c: No such file or directory
    powerpc-eabi-gcc.exe: fatal error: no input files
    compilation terminated.
    make[1]: *** [/home/Username/Makefile:171: entry.o] Error 1
    make: *** [Makefile:128: build] Error 2

    Of course, the file does exist. It's located at:
    C:\cygwin64\home\Username\src
    and if I type "cd src" and then "dir", the file does show up in Cygwin

    When I used GNUWin32, I just kept getting an error asking me to export DevkitPro's path. I did it and it still couldn't find it.
    On Cygwin, it was already configured.

    Anyway, if someone could help, I'd appreciate it.
    I'm on Windows 8.1 by the way.
    Thanks.
     
  2. Ryccardo

    Ryccardo WiiUaboo

    Member
    3,554
    1,697
    Feb 13, 2015
    Italy
    Imola
    No idea on your specific case but I'd use the Msys shell that's included (by default) with devkitpro...
     
  3. Deniii
    OP

    Deniii Member

    Newcomer
    47
    2
    Aug 6, 2009
    United States
    Thanks Ryccardo. I tried Msys and that did work.

    For anyone intrested in Saviine's source code, don't clone the one in github.
    Download the source available in the same link as the binary (currently it's 1.1b)
     
    Last edited by Deniii, Mar 7, 2017