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]

problem with linking


Hi,
     I have just downloaded Cygwin1.3.3 and cannot get an"Hello World"
program to link.

My file is called Prog1.cpp and I have tried

g++ Prog1.cpp

and

gcc Prog1.cpp

all give me the same linking error
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
cann
ot find -luser32
collect2: ld returned 1 exit status


I installed directly from the internet and the installation did not
create a file called libuser.*
create the directory structure /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5 but
rather /lib/gcc-lib/i686-pc-cygwin/2.95.3-5


Could someone point me in the right direction


Many thanks.
     Pat Mc Killen


This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


--
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]