Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : Compiling iLiad toolchain for MacOSX


Mike Kostousov
09-11-2007, 01:30 PM
Hi!
Did anybody try it?

I am trying to compile toolchain on Mac, but didn't sucseed.

.....
/opt/iliad/arm-linux/bin/ld: ERROR: libgcc/./_udivsi3.o uses hardware FP, whereas libgcc_s.so.1.tmp uses software FP
/opt/iliad/arm-linux/bin/ld: failed to merge target specific data of file libgcc/./_udivsi3.o
/opt/iliad/arm-linux/bin/ld: ERROR: libgcc/./_divsi3.o uses hardware FP, whereas libgcc_s.so.1.tmp uses software FP
/opt/iliad/arm-linux/bin/ld: failed to merge target specific data of file libgcc/./_divsi3.o
/opt/iliad/arm-linux/bin/ld: ERROR: libgcc/./_umodsi3.o uses hardware FP, whereas libgcc_s.so.1.tmp uses software FP
/opt/iliad/arm-linux/bin/ld: failed to merge target specific data of file libgcc/./_umodsi3.o
.....


I cannot find, where is the problem. It seems that libraries use hardware floating point operation, but how to force libgcc_s.so.1.tmp to be compiled with hardware FP, I don't know.

Any ideas?

Antartica
09-18-2007, 03:30 AM
Hi!
Did anybody try it?

I am trying to compile toolchain on Mac, but didn't sucseed.

.....
/opt/iliad/arm-linux/bin/ld: ERROR: libgcc/./_udivsi3.o uses hardware FP, whereas libgcc_s.so.1.tmp uses software FP
/opt/iliad/arm-linux/bin/ld: failed to merge target specific data of file libgcc/./_udivsi3.o
/opt/iliad/arm-linux/bin/ld: ERROR: libgcc/./_divsi3.o uses hardware FP, whereas libgcc_s.so.1.tmp uses software FP
/opt/iliad/arm-linux/bin/ld: failed to merge target specific data of file libgcc/./_divsi3.o
/opt/iliad/arm-linux/bin/ld: ERROR: libgcc/./_umodsi3.o uses hardware FP, whereas libgcc_s.so.1.tmp uses software FP
/opt/iliad/arm-linux/bin/ld: failed to merge target specific data of file libgcc/./_umodsi3.o
.....


I cannot find, where is the problem. It seems that libraries use hardware floating point operation, but how to force libgcc_s.so.1.tmp to be compiled with hardware FP, I don't know.

Any ideas?

Have you tried using crosstool? That's the way the unofficial toolchain was created.

Documentation about how it was done is here:

http://wiki.mobileread.com/wiki/Notes_about_building_a_toolchain_for_the_iliad_usi ng_crosstool

Hope it helps.

Mike Kostousov
09-18-2007, 08:12 AM
Thanks. I will try, but not now. For now I've solved problem with remote linux.

nathany
09-20-2007, 10:54 PM
I don't have an Iliad atm, but I am interested in what you come up with (beyond a VMware session).