From: Matthieu CASTET <castet.matthieu@free.fr>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Allow kernel to build on Cygwin
Date: Fri, 23 Feb 2007 20:37:07 +0000 (UTC) [thread overview]
Message-ID: <loom.20070223T213146-410@post.gmane.org> (raw)
In-Reply-To: <20070223034343.GA3320@plexity.net>
Hi,
Deepak Saxena <dsaxena <at> plexity.net> writes:
>
>
> This patch contains a set of small fixes to allow the kernel to build under
> the Cygwin environment, which is unfortunately used by more people than
> one would think in the embedded world. :(
Yes, I did similar patch, and there are needed for everything (busybox,
glibc, ...)
-D LKC_DIRECT_LINK
>
> +HOST_OS := $(shell uname -o)
> +ifeq ($(HOST_OS),Cygwin)
> +HOSTLOADLIBES_mconf = -lintl
> +HOSTLOADLIBES_conf = -lintl
> +endif
> +
Hum, this test should be done if we detect nls support. See ifeq
($(KBUILD_HAVE_NLS),no) ...
> --- a/scripts/kconfig/lxdialog/check-lxdialog.sh
> +++ b/scripts/kconfig/lxdialog/check-lxdialog.sh
> <at> <at> -4,6 +4,10 <at> <at> # Check ncurses compatibility
> # What library to link
> ldflags()
> {
> + if [ "`uname -o`" == "Cygwin" ]; then
> + echo '-lintl -lncurses'
> + exit
> + fi
You should test against libncurses.a and not hardcode it for cygwin...
Matthieu
next prev parent reply other threads:[~2007-02-23 20:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-23 3:43 Deepak Saxena
2007-02-23 20:37 ` Matthieu CASTET [this message]
2007-02-23 23:17 ` Deepak Saxena
2007-02-24 0:17 ` H. Peter Anvin
2007-02-24 22:55 ` Jan Engelhardt
2007-02-24 23:40 ` H. Peter Anvin
2007-02-24 0:18 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20070223T213146-410@post.gmane.org \
--to=castet.matthieu@free.fr \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome