This is the mail archive of the cygwin@cygwin.com 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]

Help to link a prog static with libcurl, libssl and libcrypto.


Hi,

i want to compile the 'simple.c' staticly but i get many errors.

Progamm:

C:\cygwin\usr\src\curl-7.9.3-1\docs\examples\simple.c

I called gcc as follows:

gcc -v -o simple simple.c `curl-config --cflags` \
`curl-config --libs` -mno-cygwin -s -static > out.put 2>&1

I have attached the out.put file.

I have found the '-mno-cygwin' in the FAQ
'http://cygwin.com/faq/faq_4.html#SEC94' but not how i can solve these
Problem :-(


Thanx al lot of any Hints and tips (Url, Doc, Man, ...).

al ;-)

Attachment: cygcheck.out
Description: CygCheckout

Attachment: out.put
Description: OutPut_from_gcc

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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