On 29.8.2012 14:55, Jakub Jermar wrote:
> On 29.8.2012 14:07, Maurizio Lombardi wrote:
>> On Wed, Aug 29, 2012 at 11:26 AM, Jakub Jermar <[email protected]> wrote:
>>>
>>> I think linking with soft-float is the way to go. We already do that on
>>> mips32 and ppc32.
>>
>> Are you sure?
>> I get link-time errors with both mips32 and ppc32.
> 
> Hm, you are right. I noticed they are built with -msoft-float, but there
> is no respective -lsoftfloat for the linker. You can try defining LFLAGS
> and see if everything links fine.

Actually, what works for mips32 is adding libsoftfloat to BASE_LIBS:

--- uspace/lib/c/arch/mips32/Makefile.common    2012-07-31 12:50:14 +0000
+++ uspace/lib/c/arch/mips32/Makefile.common    2012-08-29 13:03:21 +0000
@@ -27,6 +27,7 @@
 #

 GCC_CFLAGS += -msoft-float -mips3 -mabi=32
+BASE_LIBS += $(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a

 ENDIANESS = LE

Chances are that it will work for the rest too.

Jakub

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to