Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't cross-compile example project #1

Open
timoschlueter opened this issue Apr 24, 2015 · 6 comments
Open

Can't cross-compile example project #1

timoschlueter opened this issue Apr 24, 2015 · 6 comments

Comments

@timoschlueter
Copy link

Hi,

first of all, thank you for putting this up on GitHub!
I just tried to cross-compile the example project ("helloworld"), but received the following error:

root@do3:/tmp/libwiiu# python build.py examples/helloworld/
Building for your linux platform...
mkdir -p /tmp/libwiiu/framework/bin
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=500+ /tmp/libwiiu/framework/src/findcode500.c
powerpc-eabi-gcc: error trying to exec 'cc1': execvp: No such file or directory

I downloaded the devkitPPC, which worked fine. There seems to be a problem with my environment. Can you help me out here? I couldnt find any documentation on how to compile the samples.

Thank you in advance!

Regards,

Timo

@georgeklees
Copy link
Contributor

Sorry for taking a while to reply. This definitely seems to be something with your environment rather than our code, though I wouldn't rule the latter out yet. Can you find devkitPPC's cc1 binary anywhere on the filesystem? It may be missing from the PATH.

Relys pushed a commit that referenced this issue Jun 30, 2015
Change the hex value with brackets/shifts.
@gudenau
Copy link
Contributor

gudenau commented Feb 17, 2016

Did you ever fix this?

@Relys
Copy link
Member

Relys commented Feb 18, 2016

@gudenau were you able to replicate the issue?

@gudenau
Copy link
Contributor

gudenau commented Feb 18, 2016

@Relys
Nope, never had that type of problem with this project.

@aboood40091
Copy link

I remember having this problem too, but I can't remember what I did to fix it.
I suppose you have to add devkitPPC to PATH.

@gudenau
Copy link
Contributor

gudenau commented Feb 19, 2016

I did change the Makefiles to do that automatically, but if that is the
problem it should be complaining about not finding gcc.
On Feb 19, 2016 8:01 AM, "AboodXD" notifications@github.com wrote:

I remember having this problem too, but I can't remember what I did to fix
it.
I suppose you have to add devkitPPC to PATH.


Reply to this email directly or view it on GitHub
#1 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants