public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc doesn't like my .o file at the end
@ 2007-02-25 20:39 alexl
  2007-02-25 21:00 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 6+ messages in thread
From: alexl @ 2007-02-25 20:39 UTC (permalink / raw)
  To: cygwin

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?

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gcc doesn't like my .o file at the end
  2007-02-25 20:39 gcc doesn't like my .o file at the end alexl
@ 2007-02-25 21:00 ` Larry Hall (Cygwin)
  2007-02-25 21:04   ` nordine
  0 siblings, 1 reply; 6+ messages in thread
From: Larry Hall (Cygwin) @ 2007-02-25 21:00 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gcc doesn't like my .o file at the end
  2007-02-25 21:00 ` Larry Hall (Cygwin)
@ 2007-02-25 21:04   ` nordine
  2007-02-25 21:14     ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 6+ messages in thread
From: nordine @ 2007-02-25 21:04 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gcc doesn't like my .o file at the end
  2007-02-25 21:04   ` nordine
@ 2007-02-25 21:14     ` Larry Hall (Cygwin)
  2007-02-26  6:19       ` compilation problem nordine
  0 siblings, 1 reply; 6+ messages in thread
From: Larry Hall (Cygwin) @ 2007-02-25 21:14 UTC (permalink / raw)
  To: cygwin

nordine wrote:
> 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

Please don't commandeer someone else's thread for your own purposes.  If
you have a question to ask and it's not related to any current thread,
just send a new message to the list.

Cygwin doesn't have a g95 compiler package.  The currently available
package is g77.  If you require g95, you'll need to build it yourself
or find an existing package, Cygwin-based or not, elsewhere for the time
being.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* compilation problem
  2007-02-25 21:14     ` Larry Hall (Cygwin)
@ 2007-02-26  6:19       ` nordine
  2007-02-26 13:06         ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 6+ messages in thread
From: nordine @ 2007-02-26  6:19 UTC (permalink / raw)
  To: cygwin


nordine wrote:
hello
I want to compil my Gulp program 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




 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: compilation problem
  2007-02-26  6:19       ` compilation problem nordine
@ 2007-02-26 13:06         ` Larry Hall (Cygwin)
  0 siblings, 0 replies; 6+ messages in thread
From: Larry Hall (Cygwin) @ 2007-02-26 13:06 UTC (permalink / raw)
  To: cygwin

nordine wrote:
> nordine wrote:
> hello
> I want to compil my Gulp program 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

<http://cygwin.com/ml/cygwin/2007-02/msg00717.html>

See the second paragraph.


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-02-26 13:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-25 20:39 gcc doesn't like my .o file at the end alexl
2007-02-25 21:00 ` Larry Hall (Cygwin)
2007-02-25 21:04   ` nordine
2007-02-25 21:14     ` Larry Hall (Cygwin)
2007-02-26  6:19       ` compilation problem nordine
2007-02-26 13:06         ` Larry Hall (Cygwin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).