Hi Sven,

--- Sven Johnsson wrote:

> 
> I have not used a Makefile at all, I just compile by
> typing "gcc
> file.c -o file -lm"
> 

This works for compiling on your host system.  How are
cross-compiling for your target?

I guess I should also ask:
* What target are you using?
* What uClinux-dist are you using?
* Which toolchain are you using?

Regards,
...doug

> 
> 
> --- Doug Kehn wrote:
> 
> Did you also add -lm to the Makefile?  For example,
> 
> $(EXEC): $(OBJS)
>        $(CC) $(LDFLAGS) -o $@ $(OBJS) -lm $(LDLIBS)
> 
> 



 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to