Welcome! Log In Create A New Profile

Advanced

[Solved] #include<math.h> linking issues with powerpc-gekko-gcc.

Posted by Piko 
[Solved] #include<math.h> linking issues with powerpc-gekko-gcc.
April 27, 2009 09:52PM
For some reason if I link my C application using powerpc-gekko-gcc, aka $(CC) in the make file, then I get linking errors with math.h functions, but not if I use powerpc-gekko-g++, aka $(CXX).

I thought that math.h functions where included in C. Do I have to link some library for it work as well?



Edited 1 time(s). Last edit at 04/27/2009 09:57PM by Piko.
Re: #include<math.h> linking issues with powerpc-gekko-gcc.
April 27, 2009 09:57PM
I'm stupid, been to long since I coded in C, forgot the "-lm"
Sorry, only registered users may post in this forum.

Click here to login