This is the mail archive of the crossgcc@sourceware.org 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 11 August 2006 17:34, Dave Korn wrote:
> On 11 August 2006 17:29, Peter Barada wrote:
>
>>> Does the m5307 have an FPU?
>>
>> No, the 5307 does *not* have an FPU.
>>
>>> Did you compile newlib using software FP emulation, or is it trying to
>>> invoke non-existent FPU opcodes?
>>
>> Newlib should have built itself with multi-libs for each of the
>> variants that the compiler supports.
>
>
> No, check the OP's post: he didn't build it in-tree, but by
> hand-configuring and making it.
And in fact:
> tar xzfv newlib-1.13.0.tar.gz
> mkdir build-newlib
> cd build-newlib
> ../newlib-1.13.0/configure --target=$TARGET --prefix=$PREFIX
> -enable-newlib-hw-fp
> make all
> make install
Koen, I /really/ don't think you want to use "--enable-newlib-hw-fp" on a
CPU that doesn't have any hardware FP!
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
For unsubscribe information see http://sourceware.org/lists.html#faq
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |