Re: [Sdcc-user] linking library for cosf/math - processor mismatch

2013-02-24 Thread Daniel Michalik
On Mon, Feb 25, 2013 at 12:21:06AM +0100, Raphael Neider wrote: > Just update (again) to >= r8443. Build system fixed, works for me. Indeed, this fixes it. :) Now building successfully with: sdcc --use-non-free -mpic14 -p16f1938 -llibme.lib problem.c Thank you, //Daniel -

Re: [Sdcc-user] linking library for cosf/math - processor mismatch

2013-02-24 Thread Raphael Neider
Hi, > When compiling and linking and my source I get the following error: > error: missing definition for symbol "_cosf", required by "problem.o" > problem.c looks as follows: [snip] > I would greatly appreciate advice how to proceed. Just update (again) to >= r8443. Build system fixed, works for

[Sdcc-user] linking library for cosf/math - processor mismatch

2013-02-24 Thread Daniel Michalik
Dear sdcc community, I am trying to compile and link a piece of code using cosf(). I compiled and installed gputils (revision 932) and sdcc (revision 8435) from svn, with --enable-enhanced-cores: SDCC : mcs51/gbz80/z80/z180/r2k/r3ka/ds390/pic16/pic14/TININative/ds400/hc08/s08 3.2.1 #8435 (Feb