Skip to contentSkip to conversation

about the float lib

Buildroot thomas.luo 3 participants 3 messages Jan 19, 2007

lore
Share & tools
lore

thomas.luo

author
#0 lore raw

hi all,
i meet some problem when use the ARM gcc 4.1.1 with arg -msoft-float, the gcc can't find the -lfloat. how to produce float lib?
Br
Thomas

#1 lore raw
Quoted 5 lines

hi all,
i meet some problem when use the ARM gcc 4.1.1 with arg -msoft-float, the gcc can't find the -lfloat. how to produce float lib?
Br
Thomas

Hi,

Make the target you built depends from the libfloat.

uclibc: libfloat $(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)-gcc \
	$(STAGING_DIR)/lib/libc.a $(UCLIBC_TARGETS)

Philippe

#2 lore raw
In reply to thomas.luo
Quoted 4 lines · thomas.luo

hi all,
i meet some problem when use the ARM gcc 4.1.1 with arg -msoft-float, the gcc can't find the -lfloat.
how to produce float lib?

Please edit package/libfloat/libfloat.mk
and remove the check for the gcc version 3.3 and let me know if that fixed it.