You may want to build a different compiler, one that produces
executables for the a.out format. If you're lucky, you may even be able
to find a compiler that's pre-built and free :)
http://gcc.gnu.org/install/specific.html#arm-x-aout
~/Chris
drdruish wrote:
> Greetings everyone, I'm new to all this so hopefully it's a decent
> question.
>
> How can I create a U-Boot standalone application, specifically, how do
> I compile code such that the linked output isn't dynamic, but rather
> hard-coded to a specific memory address? In other words, how do I run
> code with just U-Boot and no operating system? (Yes, I understand
> malloc and everything else will be missing, I'm trying to write my own
> kernel) Currently, I can't even get my hello world to work as I keep
> getting elf binaries that need linux to run. Can someone please help,
> or just point me in the right direction? I've spent more time than I
> care to think about yet I'm failing miserably.
>
> Thanks,
>
> Drew
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|