Problems ...

Alexandre Oliva aoliva@redhat.com
Mon Jun 4 12:26:00 GMT 2001


On Jun  4, 2001, Lars Segerlund <lars.segerlund@comsys.se> wrote:

>  when I use the code, so does anybody know why these functions are not
> found as I link with -lm ? 

Is -lm linked in after object files that depend on it?  The order
matters.

Also consider using gcc/g77 for linking, instead of ld directly.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-help mailing list