Information Request

James E Wilson wilson@specifixinc.com
Thu Sep 9 22:38:00 GMT 2004


alex19_82@libero.it wrote:
> /users/students/tesi08/tools/lib/gcc-lib/powerpc-eabi/3.3.4/../../../../powerpc-
> eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 01800074

You have to provide a linker script and libraries.  This stuff is 
sometimes refered to as a board support package (BSP).

The powerpc-eabi compiler supports many different embedded target 
boards.  Code has to be linkedly differently for them, because of 
hardware differences.  For instance, they may have RAM located at 
different places in the address space.

If you just want to emit code for the (gdb) simulator, try -msim.  See 
also the documentation, which lists a bunch of other -m options for 
other hardware/simulator choices.

A good way to learn about the options needed for various targets is to 
look at dejagnu.  For instance, on a linux system with dejagnu 
installed, look at
     /usr/share/dejagnu/baseboards/powerpc-sim.exp
which tells you that you need the -msim gcc option when linking.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list