This is the mail archive of the mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: in execvp.c undefined reference to 'posix_path_list_p'

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

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

Thanks for the reply,


-----Original Message-----
From: Mumit Khan []
Sent: Thursday, April 22, 1999 4:54 PM
To: Michael Fonte
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???


Want to unsubscribe from this list?
Send a message to