delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/22/17:02:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Michael Fonte" <mikef AT sensor DOT com>
To: "'Mumit Khan'" <khan AT xraylith DOT wisc DOT edu>
Cc: <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: in execvp.c undefined reference to 'posix_path_list_p'
Date: Thu, 22 Apr 1999 17:01:21 -0400
Message-ID: <001c01be8d03$47177310$23ed6bc0@hawk.sensor.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Importance: Normal
In-Reply-To: <Pine.SUN.3.93.990422155224.24617C-100000@modi.xraylith.wisc.edu>

Reply I caught this about 30 minutes later.  I am not sure why 'most' of the
source code distributions out there explicitly add -lc as well.  Anyone have
a historical perspective on this.  I suppose there are apps out there that
don't use libc, they either write their own or don't need it.  In these
cases it would be nice to not have to link against libc.  In either case for
compatibility reasons explicitly adding -lc should not cause a fatal error
(IMHO).

The makefile was generated via a configure script from the standard tcl8.0.5
source distribution.

Thanks for the reply,

Michael

-----Original Message-----
From: Mumit Khan [mailto:khan AT xraylith DOT wisc DOT edu]
Sent: Thursday, April 22, 1999 4:54 PM
To: Michael Fonte
Cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: in execvp.c undefined reference to 'posix_path_list_p'


On Thu, 22 Apr 1999, Michael Fonte wrote:

>
> I just installed cygwin B20.1 and am getting the following error trying to
> compile tcl 8.0.5
>
> When building the final executable
>
> gcc tclAppInit.o -L(snip) -ltcl8.0 -lm -lc -o tclsh

Get rid of the -lc and try again.

I wonder why so many folks insist on explicitly adding -lc???

Regards,
Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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