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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Joe Buehler Subject: Re: Success! Cross Compiler Linux to Cygwin Date: Thu, 24 Apr 2003 11:02:21 -0400 Organization: Spirent Communications, Inc. Lines: 113 Message-ID: <3EA7FC7D.9030901@hekimian.com> References: <3EA7068D DOT 3000101 AT hekimian DOT com> <01ad01c309e1$6791b600$6dee86d9 AT ellixia> Reply-To: jbuehler AT hekimian DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en In-Reply-To: <01ad01c309e1$6791b600$6dee86d9@ellixia> X-Enigmail-Version: 0.73.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime 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 > 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? > 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): ./lib ./lib/gcc-lib ./lib/gcc-lib/i686-pc-cygwin ./lib/gcc-lib/i686-pc-cygwin/3.2 ./lib/gcc-lib/i686-pc-cygwin/3.2/include ./i686-pc-cygwin ./i686-pc-cygwin/bin ./i686-pc-cygwin/lib ./i686-pc-cygwin/lib/ldscripts ./i686-pc-cygwin/lib/cvs ./i686-pc-cygwin/lib/cvs/contrib ./i686-pc-cygwin/lib/dde1.2 ./i686-pc-cygwin/lib/gcc-lib ./i686-pc-cygwin/lib/gcc-lib/i686-pc-cygwin ./i686-pc-cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-10 ./i686-pc-cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-10/include ./i686-pc-cygwin/lib/gcc-lib/i686-pc-cygwin/3.2 ./i686-pc-cygwin/lib/gcc-lib/i686-pc-cygwin/3.2/include ./i686-pc-cygwin/lib/gcc-lib/i686-pc-cygwin/3.2/include/gcj ./i686-pc-cygwin/lib/gcc-lib/i686-pc-mingw32 ./i686-pc-cygwin/lib/gcc-lib/i686-pc-mingw32/3.2 ./i686-pc-cygwin/lib/gcc-lib/i686-pc-mingw32/3.2/include ./i686-pc-cygwin/lib/gcc-lib/i686-pc-mingw32/3.2/include/objc ./i686-pc-cygwin/lib/w32api ./i686-pc-cygwin/lib/make ./i686-pc-cygwin/include ./i686-pc-cygwin/include/arpa ./i686-pc-cygwin/include/asm ./i686-pc-cygwin/include/c++ ./i686-pc-cygwin/include/c++/3.2 ./i686-pc-cygwin/include/c++/3.2/backward ./i686-pc-cygwin/include/c++/3.2/bits ./i686-pc-cygwin/include/c++/3.2/ext ./i686-pc-cygwin/include/c++/3.2/i686-pc-cygwin ./i686-pc-cygwin/include/c++/3.2/i686-pc-cygwin/bits ./i686-pc-cygwin/include/c++/3.2/i686-pc-mingw32 ./i686-pc-cygwin/include/c++/3.2/i686-pc-mingw32/bits ./i686-pc-cygwin/include/cygwin ./i686-pc-cygwin/include/w32api ./i686-pc-cygwin/include/w32api/GL ./i686-pc-cygwin/include/w32api/ddk ./i686-pc-cygwin/sys-include ./i686-pc-cygwin/sys-include/arpa ./i686-pc-cygwin/sys-include/asm ./i686-pc-cygwin/sys-include/c++ ./i686-pc-cygwin/sys-include/c++/3.2 ./i686-pc-cygwin/sys-include/c++/3.2/backward ./i686-pc-cygwin/sys-include/c++/3.2/bits ./i686-pc-cygwin/sys-include/c++/3.2/ext ./i686-pc-cygwin/sys-include/c++/3.2/i686-pc-cygwin ./i686-pc-cygwin/sys-include/c++/3.2/i686-pc-cygwin/bits ./i686-pc-cygwin/sys-include/c++/3.2/i686-pc-mingw32 ./i686-pc-cygwin/sys-include/c++/3.2/i686-pc-mingw32/bits ./i686-pc-cygwin/sys-include/cygwin ./i686-pc-cygwin/sys-include/g++-3 ./i686-pc-cygwin/sys-include/g++-3/std ./i686-pc-cygwin/sys-include/mingw ./i686-pc-cygwin/sys-include/mingw/g++-3 ./i686-pc-cygwin/sys-include/mingw/g++-3/std ./i686-pc-cygwin/sys-include/mingw/sys ./i686-pc-cygwin/sys-include/ncurses ./i686-pc-cygwin/sys-include/net ./i686-pc-cygwin/sys-include/netinet ./i686-pc-cygwin/sys-include/noX ./i686-pc-cygwin/sys-include/noX/X11 ./i686-pc-cygwin/sys-include/org ./i686-pc-cygwin/sys-include/org/w3c ./i686-pc-cygwin/sys-include/org/w3c/dom ./i686-pc-cygwin/sys-include/org/w3c/dom/ranges ./i686-pc-cygwin/sys-include/org/w3c/dom/traversal ./i686-pc-cygwin/sys-include/org/xml ./i686-pc-cygwin/sys-include/org/xml/sax ./i686-pc-cygwin/sys-include/org/xml/sax/ext ./i686-pc-cygwin/sys-include/org/xml/sax/helpers ./i686-pc-cygwin/sys-include/protocols ./i686-pc-cygwin/sys-include/readline ./i686-pc-cygwin/sys-include/sys ./i686-pc-cygwin/sys-include/w32api ./i686-pc-cygwin/sys-include/w32api/GL ./i686-pc-cygwin/sys-include/w32api/ddk ./include ./include/c++ ./include/c++/3.2 ./include/c++/3.2/bits ./include/c++/3.2/backward ./include/c++/3.2/ext ./include/c++/3.2/i686-pc-cygwin ./include/c++/3.2/i686-pc-cygwin/bits > 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. -- Joe Buehler -- 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/