Hi im Brian. Im new here and I wanted to ask for some help..

support for the powerpc toolchain
Post Reply
chrono31
Posts: 4
Joined: Sun Jan 18, 2009 8:43 am

Hi im Brian. Im new here and I wanted to ask for some help..

Post by chrono31 » Mon Sep 07, 2009 7:06 am

ok so I got helloworld to work through Wiiload

And now im trying to make different programs

Like I was tryin to make this one:
#include
// ...
SYS_ResetSystem(SYS_RESTART,0,0);


Which is reboot.elf

in programmers notepad I try to make it and it
says: make: ***no target specified and no makefile found

Do I need to make a make file first before I compile it in Programmers Notepad??
If so how?

Thanks for helping a newb :)

I tried to use the make file from helloworld to see if that works but It diden't...

Is there more tuts somewhere? like on this site that can teach me this stuff??

User avatar
vuurrobin
Posts: 219
Joined: Fri Jul 11, 2008 8:49 pm
Location: The Netherlands
Contact:

Re: Hi im Brian. Im new here and I wanted to ask for some help..

Post by vuurrobin » Mon Sep 07, 2009 7:55 am

you will need a makefile to create the programs.

what kind of errors do you get when using the makefile from hello world.

chrono31
Posts: 4
Joined: Sun Jan 18, 2009 8:43 am

Re: Hi im Brian. Im new here and I wanted to ask for some help..

Post by chrono31 » Mon Sep 07, 2009 8:20 am

First I wanna thank you for answering my post. Ive made this post in 4 different forums
and no one seems to care...


As to your qeustion,

when I run Reboot.elf
with helloworld make file
I get this:
> "make"
linking ... Reboot.elf
c:devkitpro/devkit.ppc/bin/../lib/gcc/power-pcgekko/4.2.4/../../../../power-pcgekko/lib/crtmain.o: In function '_crtmain':
e:projects/devkitpro/buildscripts/new-lib1.17.0/libgloss/rs6000/crt.main.c:18: undefined reference to 'main'
collect 2: Id 1 exit status
make [1] : *** [/c/projects/wii/wii Reboot.elf] Error 1
"make": *** [Build] Error 2

Process Exit Code:2
Time Taken: 00:02

Thanks again:)

Just in case my msn is [email protected]
If thats easier.. Just throwin it out there...


Hmmmm I successfully made the elf and dol (Just copied the source file into it)

But now Its not showing up on homebrew....

psycorpse
Posts: 9
Joined: Sun Sep 13, 2009 6:37 pm
Location: St Louis, MO USA
Contact:

Re: Hi im Brian. Im new here and I wanted to ask for some help..

Post by psycorpse » Sun Sep 13, 2009 6:37 pm

Hey Brian,

Did you get this to work?

Mike
Currently doing 3ds game programming!
Website: http://www.stlwd.com

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests