Date: Wed, 8 Sep 93 16:54:37 -0400 From: DJ Delorie To: cain AT charlie DOT ece DOT scarolina DOT edu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: newbie > I am having trouble using the complex.h in gcc. It compiles fine, but > when it tries to link the complex.o it gives me text reference errors of > some odd math functions. Help? You must link like this: gcc o1.o o2.o -lgpl -lm