www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/11/10/05:31:16

From: kunst AT prl DOT philips DOT nl
Subject: Re: -lgpl
To: fb33 AT rummelplatz DOT uni-mannheim DOT de (Christoph Kuhmuench)
Date: Wed, 10 Nov 1993 10:59:45 +0100 (MET)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP users list)

Christoph Kuhmuenc writes:

> I downloaded the basic files to work with djgpp and have a little trouble 
> with the libraries. I always have to compile programs with
>  gcc <name> -lgpl -lm
> I found an ASCII-File called "specs" maybe there"s something wrong with it?

This is only required when linking C++ code using GPL routines.
                           ^^^^^^^^^^^

> Maybe somebody can explain to me which library contains object-code for C 
> ( or C++) sources? E.g. I have a library libm and a library libm_p. Must 
> I use libm_p to compile C++ sources?

'libm_p.a' is equal to 'libm.a', but contains extra info for profiling.
The linker will select the approriate library, depending on the switches.

> 
>    Thanks for your help
> 
>       Chris
>  
> 
> 


- Raw text -


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