This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc's(4.4.3) math lib :power


> that site show this code should run, but I get compiler error

Actually you get a *linker* (ie, ld) error. Try adding -lm to the command line.

Paolo

Ps: in the future please prefer gcc-help...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]