This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: Cross-compiling from Cygwin to PowerPC: remove call to __eabiin main?


On Tue, 23 Jan 2001, Jonathan Larmour wrote:

> Date: Tue, 23 Jan 2001 13:12:34 +0000
> From: Jonathan Larmour <jlarmour@redhat.com>
> To: Paul Mikell <pmikell@rare.co.uk>
> Cc: crossgcc@sources.redhat.com
> Subject: Re: Cross-compiling from Cygwin to PowerPC: remove call to
>     __eabi in  main?
>
> Paul Mikell wrote:
> >
> > I have compiled binutils-2.10.1 and gcc-2.95.2 for cross-compiling from
> > Cygwin
> > to PowerPC. GCC inserts a call to __eabi at the start of main. I have
> > disassembled this function and found that it does nothing that the startup
> > code
> > for the target machine has not done already. Is there any way to prevent GCC
> > from inserting this call?
>
> void __eabi(void) {}
>

I used the -mno-eabi option

> Jifl
>

-- 
Hans Dulimarta, Ph.D. |                dulimart@computer.org
Research Associate    |     http://www.egr.msu.edu/~dulimart
P: 517-432-7589       |     http://corelinux.sourceforge.net
F: 760-281-7691     http://freshmeat.net/projects/snapsource
Elec. & Comp. Engg., Mich. State Univ., E. Lansing, MI 48824


------
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]