about gcc
Asked by
prasad.ram
hi sir i am big fan of ubuntu
i write a program in c language that is ..
#include<stdio.h>
#include<math.h>
main()
{
double a,b=1;
a=exp(b);
}
it gives error like
/tmp/cc1CYiQo.o: In function `main':
sample.
collect2: ld returned 1 exit status
i don't know what is the reason
the same program runs with out any error on another complier like tc(windows) and on same gnu c++ complier
so what is the reason please help me...
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask prasad.ram for more information if necessary.
To post a message you must log in.