This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Gcc for powerpc configuration question


I think __eabi() is for calling constructors of static objects.
It is called from main().
You probably don't need that so just implement a dummy __eabi().
But it should not be wrong to include libgcc.a on the linker
command line since gcc might have generated some other calls to
be resolved by this library. libgcc.a is a companion to the
compiler, it does not contain any public library functions.
--
	Ola Liljedahl

Peter Reilley wrote:
> 
> I am trying to build a test program that will be downloaded
> into a powerpc evaluation board.   The program will run bare,
> there is no monitor in the board.   I am using gcc to compile
> the test program written in C.   I configured the tools with
> "ppc-eabi".   The link fails with a call to __eabi.   The test program
> does no I/O and so needs no libraries.
> 
> I have successfully written an assembly program that runs in the
> board so I know that I can assemble and download OK.   I am
> using gdb to download the test program.
> 
> I am new at writing embedded code and am wondering if the
> "ppc-eabi" configuration is correct.
> 
> Any help greatly appreciated,
> Pete.
> 
> ------
> Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
begin:vcard 
n:Liljedahl;Ola
x-mozilla-html:FALSE
org:Enea OSE Systems;R & D
adr:;;;;;;
version:2.1
email;internet:olli@enea.se
title:Technical Manager
fn:Ola Liljedahl
end:vcard

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]