| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
| Message-ID: | <001701c30a76$309f70c0$065b86d9@ellixia> |
| From: | "Elfyn McBratney" <elfyn-cygwin AT exposure DOT org DOT uk> |
| To: | "cygwin" <cygwin AT cygwin DOT com>, <jbuehler AT hekimian DOT com> |
| References: | <F152LqIfQdmEB4HGXAw0000fe21 AT hotmail DOT com> <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 |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |