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] |
| Other format: | [Raw text] | |
On Wed, Jan 28, 2004 at 01:31:13PM -0500, senthil wrote:
> Hi,
> you will have to use something like this,
> arm-linux-gcc -static -L./ -msoft-float -Xlinker --no-warn-mismatch
> hello.c, you can also use -lfloat option if needed (use netwinder
> libfloat or nico's libfloat)
>
> --no-warn-mismatch will allow you to continue linking
> but sometimes I have noticed gcc putting hard-float instructions aswell
> as definitions from softfloat (I used nicolas pitre's soft-float glibc
> replacement ) if the arguments were passed in
> a different order, but this one works fine for me. I am using gcc3.2.1.
This looks like a hack to me; I don't really want to change anything in
the compiler call as it works quite fine with gcc-2.95.3 and just
ommitting the warning smells like a hack - the real problem seems to be
that libgcc only has (or at least claims to have) hard fp support
compiled in.
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hornemannstraße 12, 31137 Hildesheim, Germany
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |