[prev in list] [next in list] [prev in thread] [next in thread]
List: cygwin
Subject: gcc doesn't like my .o file at the end
From: alexl <alex () zoosmart ! us>
Date: 2007-02-25 20:38:28
Message-ID: 20070225203828.GA29343 () zoosmart ! us
[Download RAW message or body]
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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic