www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/11/02:51:35

Date: Sun, 11 Aug 1996 09:47:15 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: James <100327 DOT 3421 AT CompuServe DOT COM>
Cc: djgpp AT delorie DOT com
Subject: Re: undefined reference prob
In-Reply-To: <4ude5i$s6o$1@mhade.production.compuserve.com>
Message-Id: <Pine.SUN.3.91.960811094509.24678F-100000@is>
Mime-Version: 1.0

On 8 Aug 1996, James wrote:

> I'm trying to compile some code using gcc with these header files:
> 
> iostream.h
> fstream.h
> stdlib.h
> ctype.h
> 
> I keep getting this error message:
>  xor.cc(.txext+17): undefined reference to '__abs____Fi'
> I use this command line:
> gcc -v xor.cc -lgpp -lm -pg -lpc_p

Try this:

	gcc -v -pg xor.cc -lgpp -lstdcx -lm

You don't need -lpc if you use DJGPP v2.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019