Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#12133 closed bug (invalid)

Missing <float.h>

Reported by: haiqu Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: - General Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Called by posix/limits.h but missing from sources.

Change History (3)

comment:1 by korli, 4 years ago

Resolution: invalid
Status: newclosed

float.h is provided by gcc hpkgs.

comment:2 by haiqu, 4 years ago

Yep. The actual problem is that the PPC cross-compiler (as built from the jamfiles) can't find it. In fact it couldn't find it's 455 with both hands and a map ...

Last edited 4 years ago by haiqu (previous) (diff)

comment:3 by haiqu, 4 years ago

For the benefit of all lookenpeepers, the same thing happens with the m68k cross-compiler. Since the internal search path of both compilers is correct this error is a bit baffling.

Example of gcc -v dump:

#include <...> search starts here:
 /Work/generated.m68k/cross-tools-m68k/lib/gcc/m68k-unknown-haiku/4.8.4/include
 /Work/generated.m68k/cross-tools-m68k/lib/gcc/m68k-unknown-haiku/4.8.4/include-fixed
 /Work/generated.m68k/cross-tools-m68k/lib/gcc/m68k-unknown-haiku/4.8.4/../../../../m68k-unknown-haiku/include
Note: See TracTickets for help on using tickets.