RE: linking problem

2000-03-10 Thread Rodrigo Moya
> I having trouble with linking libraries > > say I have a program called foo.c > #include > #include > > main() > { > int i; > float j; > for(i=1;i<100;++i) > j=sin(1.0*i,pow(1.0*i,2)); > } > When creating the executable > gcc -o foo foo.c or egcs -o foo foo.c > > I got the following errors > /

Re: linking problem

2000-03-09 Thread Brian
> > I having trouble with linking libraries > > say I have a program called foo.c > #include > #include > > main() > { > int i; > float j; > for(i=1;i<100;++i) > j=sin(1.0*i,pow(1.0*i,2)); > } > When creating the executable > gcc -o foo foo.c or egcs -o foo foo.c > > I got the following err