X-Spam-Check-By: sourceware.org Message-ID: <459C7ED7.7050004@cygwin.com> Date: Wed, 03 Jan 2007 23:13:11 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061108 Fedora/1.5.0.8-1.fc4.remi Thunderbird/1.5.0.8 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cygwin make menuconfig hangs References: <93F4D0C26363FF45A4953C121889B6AC5BCE AT brak DOT anidea DOT local> In-Reply-To: <93F4D0C26363FF45A4953C121889B6AC5BCE@brak.anidea.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Gabriel Goldstein wrote: > Hello, > > Currently I can build the linux kernel 2.6.17 under Cygwin without issue > with a stock .config file from my development board supplier (ARM9, > AT91RM9200). However, I can not get make menuconfig to work. > > I'm using 'make ARCH=arm KBUILD_HAVE_NLS=no menuconfig'. Originally > this was failing all over the place during the linker looking for > ncurses. After many attempts at various things (compiled ncurses-5.5 > with library option, etc) trying to get a .so file, I come to kind of > realize that a .so and a dll may be the same thing. So I 'ln -s > libncurses.dll.a libncurses.so' and menu config compiles. So I get past > the linker. > > How it just sits there stalled, looking at me, doing nothing: > > $ make ARCH=arm KBUILD_HAVE_NLS=no menuconfig > HOSTCC scripts/basic/fixdep > HOSTCC scripts/basic/split-include > HOSTCC scripts/basic/docproc > HOSTLD scripts/kconfig/mconf > HOSTLD scripts/kconfig/lxdialog/lxdialog > Info: resolving _COLS by linking to __imp__COLS (auto-import) > Info: resolving _LINES by linking to __imp__LINES (auto-import) > Info: resolving _stdscr by linking to __imp__stdscr (auto-import) > scripts/kconfig/mconf arch/arm/Kconfig > > > It does this with or without the .config file in place. > > A ps tells me 2 copies of make, mconf, and lxdialog are running in the > background. > > I'm not sure if the linking thing is right or something else I'm > missing. > > Please help! Ignoring the fact that Cygwin's gcc will not cross-compile to Linux, you're right in observing that .so's are not the same as DLLs. Actually, .so's are quite different from DLLs and Windows will not recognize them. If you're actually building a Linux target libncurses.so, you don't want it renamed. And if you're targeting Windows, you want to build ncurses.dll and libncurses.dll.a. So I think you're a little confused about what you want (or your message to this list is confusing). In any case, since you're not using Cygwin's gcc for this, your question is also off-topic. You should take your questions to the site/supplier of the gcc you're using to build Linux targets with. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/