Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <001701c30a76$309f70c0$065b86d9@ellixia> From: "Elfyn McBratney" To: "cygwin" , References: <3EA7068D DOT 3000101 AT hekimian DOT com> <01ad01c309e1$6791b600$6dee86d9 AT ellixia> <3EA7FC7D DOT 9030901 AT hekimian DOT com> Subject: Re: Success! Cross Compiler Linux to Cygwin Date: Thu, 24 Apr 2003 16:28:42 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 > Elfyn McBratney wrote: > > > What happens when you try and link an executable using '-mno-cygwin'? Do you > > ../bin/i686-pc-cygwin-g++ -o test.exe -mno-cygwin test.cc > i686-pc-cygwin-g++: installation problem, cannot exec `cc1plus': No such file or directory That's the problem. You need to set-up a host tree for i686-pc-mingw32 like I said in the other reply. > > have the full w32api package installed? What (link)errors do you get? Do you > > I do on my Cygwin box, and I copied /lib and /usr/include as Tim Renner's instructions > said. Or am I supposed to cross-compile w32api? Or did I not copy something I need? Nope. This is all you need. > > have the the .../i686-pc-{cygwin,mingw} trees set-up? > > Here's what I have in the way of directories under the top-level install dir > (cut down because the list is large): > > [...] > > I have this working but haven't attempted doing it myself yet, a colleague > > compiled it on our servers. > > I am mainly looking for what is missing in Tim Renner's instructions. Making sure that (if you want to compile mingw apps) you have the host tree set-up where you installed your cross. Elfyn -- 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/