Missing _start

support for the powerpc toolchain
Post Reply
TurkeyMan
Posts: 6
Joined: Mon Mar 04, 2013 12:57 am

Missing _start

Post by TurkeyMan » Sat Nov 09, 2013 6:19 am

I'm getting "warning : cannot find entry symbol _start; defaulting to 80004024" when I link. what am I missing?
Where is that symbol usually defined? Do I need to explicitly link a start object? I didn't see that in any of the example makefiles...

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

Re: Missing _start

Post by WinterMute » Mon Nov 18, 2013 1:26 pm

_start is usually defined in the initial startup code, often in assembly. For libogc code we placed it within the library at http://sourceforge.net/p/devkitpro/libo ... ogc_crt0.S

using -mrvl for wii or -mogc for gamecube will select appropriate linkscripts and crt0 code.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests