Thanks, Stefan.
As I'm not very familiar with GNU tools I did a mistake. I placed -lm option
BEFORE source list. With your command line it works fine for me too (by the
way I'm working under Cygwin64).
-----Исходное сообщение-----
From: Stefan Kristiansson
Sent: Monday, September 22, 2014 6:47 AM
To: BAndViG
Cc: openrisc
Subject: Re: [OpenRISC] NewLIB and trigonometric functions
....
This works fine for me:
or1k-elf-gcc -mhard-mul -mhard-div -msoft-float -mboard=atlys fsin.c
-lm -o fsin.elf
Stefan
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc