delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/25/15:39:32

X-Spam-Check-By: sourceware.org
Date: Sun, 25 Feb 2007 15:38:28 -0500
From: alexl <alex AT zoosmart DOT us>
To: cygwin AT cygwin DOT com
Subject: gcc doesn't like my .o file at the end
Message-ID: <20070225203828.GA29343@zoosmart.us>
Mime-Version: 1.0
User-Agent: Mutt/1.4.2.1i
X-Spam-Score: -4.398 () ALL_TRUSTED,BAYES_00,DK_POLICY_SIGNSOME
X-Bayes-Score: 1.11022302462516e-16
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019