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: gcc doesn't like my .o file at the end


hello
I want to compil my Gulp program using g95 under
cygwin, and I got this error message:
/bin///ld: cannot find -lf95
make[1]: *** [gulp_] Error 1
make[1]: Leaving directory
`/cygdrive/c/gulpsource/src/{os}'
mv: cannot stat `gulp': No such file or directory
make: *** [gulp] Error 1
some help please


--- "Larry Hall (Cygwin)"
<reply-to-list-only-lh@cygwin.com> wrote:

> alexl wrote:
> > it wants it at the beginning. The gcc on my linux
> box doesn't care.
> > 
> > Any way to make gcc work with the object file at
> the beginning?
> > 
> > example:
> > 
> > ---doesn't work
> > $ gcc -mno-cygwin -mwin32 -I/[blah..] -L[blah..] 
> > -lglib-2.0 -lintl -liconv   -o hello hello.o  
> > 
> > 
> > ---works
> > $ gcc hello.o  -mno-cygwin -mwin32 -I/[blah..]
> -L[blah..] 
> > -lglib-2.0 -lintl -liconv   -o hello
> > 
> > any ideas?
> 
> 
> Yes.  Put it at the end where it belongs.  The fact
> that Linux doesn't
> require this is a feature of Linux which, no matter
> how convenient it may
> seem, is not portable.
> 
> 
> -- 
> Larry Hall                             
> http://www.rfk.com
> 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?
> 
> --
> Unsubscribe info:     
> http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:      
> http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 



 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]