Welcome! Log In Create A New Profile

Advanced

Compile problem

Posted by Slappy 
Compile problem
May 12, 2009 09:08AM
Hi
I am trying to compile very basic example - helloworld using DevkitPro and Programmers Notepad [AMD Sempron mobile processor]
I got this error:
> "make"
template.c
cc1: error: invalid option `call-sysv'
cc1: error: invalid option `rvl'
cc1: error: invalid option `cpu=750'
cc1: error: invalid option `eabi'
e:/Programovanie/Wii/template/source/template.c:1: warning: -ffunction-sections may affect debugging on some targets
make[1]: *** [template.o] Error 1
"make": *** [build] Error 2

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


I modified wii_rules ::
MACHDEP = -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float
like:
MACHDEP = -DGEKKO -mhard-float

but still I get this error:
cc1: error: invalid option `cpu=750'

When I tried to compile the same code at work (Intel Pentium 4) everything was fine...
What should I do???
How can I detect correct compiler flags?
Re: Compile problem
May 12, 2009 07:37PM
You are using the wrong compiler, use the cross compiler.
Re: Compile problem
May 13, 2009 01:35PM
I am using latest version of DevKitPPC at Windows XP SP2
What I am doing/setting wrong??
Re: Compile problem
May 13, 2009 02:00PM
You might want to try redownloading devkitPro and then trying again.
Sorry, only registered users may post in this forum.

Click here to login