This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Some missing .a file trying to compile cfc util on cygwin libgmp.a, libhistory.a, libreadline.a)

On 7/18/2010 9:07 PM, gialloporpora wrote:
Risposta al messaggio di Jeremy Bopp :

I think you need to install ncurses-devel for termcap support, but I'm
not sure what provides the fl library. When it comes to missing
libraries such as you're seeing, many projects have some form of
documentation available which tells you what you need to install in
order to build the software, so make sure you check there first. You
can also use the cygcheck program and to
search for the cygwin packages which provide particular files.

Ok, thanks for your suggestions. I have readed documentation but I have not found info about compiling the package on cygwin. I have installed all packages in Devel/Math/libs/utils but the error is not changed. The strange thing - for me, I am a newbe on Cygwin - is that I need to move the .a file in the /usr/cf_arith_xxxx directory instead make don't find them (they ar in lib directory) I have replaced in the makefile -ltermcap with -lncurse: LIBS = libgmp.a libreadline.a libhistory.a -lfl -lncurses # cygwin

instead of:
LIBS = libgmp.a libreadline.a libhistory.a -lfl -ltermcap #cygwin

now it seem to works: I have a cf_arith.exe file in /usr/cf_arith_xxx/

now I move it in /bin directory and I think it should works.

There exist a command to move all exe files created after compiling the
module (and dll) in the /bin directory (c:\cygwin\bin) instead of moving
them with che copy command?

The typical way to install a GNU package after building it is to invoke 'make install'. This should appear in the INSTALL readme for the package in question. This is not Cygwin-specific and won't necessarily apply to a package that doesn't conform to GNU standards.

Larry Hall                    
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746


A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting annoying in email?

-- Problem reports: FAQ: Documentation: Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]