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

Re: newbie question (about compiling)


--- "Halim, Salman" <salman@bluestone.com> wrote:
> hi,
> 
> i have a simple program called renumber.c (is attached; the unzipped version
> is 4k) which i am trying to compile as follows:
> 
> gcc -I /proggies/cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/include
> renumber.c
> 

This -I shouldn't be needed.

> i get the following message:
> 
> /proggies/cygnus/CYGWIN~1/H-I586~1/i586-cygwin32/bin/ld: cannot open
> c:proggiesc
> ygnusCYGWIN~1H-I586~1bin..libgcc-libi586-cygwin32egcs-2.91.57........i586-cy
> gwin
> 32libcrt0.o: No such file or directory
> collect2: ld returned 1 exit status
> 
> i changed the include path to
> /proggies/cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/include/mingw32
> and got the same results.  can anybody help?  (i could rewrite the renumber
> program in java, but i would like to get the compilation working.)
> 
> i apologize if this is not the correct forum for this question as this
> question has less to do with cygwin (i believe) and more to do with my
> inexperience with c compilation on unix in general.

This is the correct list.  You've a serious setup problem. Please read my
webpages.  If you can't get it working then paste the output of `cygcheck -s -v
-r' in a mail.

Regards,

=====
Earnie Boyd <mailto:earnie_boyd@yahoo.com>
Cygwin Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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