X-Spam-Check-By: sourceware.org Message-ID: <46815080.9362936E@dessent.net> Date: Tue, 26 Jun 2007 10:44:32 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: undefined reference to `__imp___iob' References: <46813D13 DOT 60EE664D AT dessent DOT net> <46814C06 DOT 31938A60 AT dessent DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com "Frederich, Eric P21322" wrote: > Wow, now I'm more confused. > If using -mno-cygwin is the same as using msys/mingw, then why would I > need luck to link against a msys/mingw library? Me too. If you're indeed using -mno-cygwin then there should be no problem linking with a native library. I think you'll have to provide a standalone testcase that reproduces the error, because it's not clear to me exactly what you're doing now. If you're using -mno-cygwin, you have to use it everywhere, for compilation of every object and for linking. Brian -- 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/