Hi! On Thu, May 08, 2003 at 12:55:58PM +0200, Martin Tarenskeen wrote: > Why can't I compile code that has an "#include <math.h>", unless > I enable the -m68020-60 option ? Without that compiler option I > keep getting messages like: > > undefined reference to `sqrt' Because you forgot to add -lm to your gcc / linker commandline? Ciao Thomas -- Thomas Binder (Gryf @ IRCNet) gryf+usenet@hrzpub.tu-darmstadt.de PGP-key available on request! Vote against SPAM: http://www.politik-digital.de/spam/
Attachment:
pgpjCKgMdkVIZ.pgp
Description: PGP signature