delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/30/10:44:05

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 30 Mar 2004 10:42:33 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: bertrand marquis <bertrand_marquis AT yahoo DOT fr>
cc: cygwin AT cygwin DOT com
Subject: Re: need loadkeys --mktable under cygwin
In-Reply-To: <40694555.7010601@yahoo.fr>
Message-ID: <Pine.GSO.4.56.0403301031240.1185@slinky.cs.nyu.edu>
References: <40694555 DOT 7010601 AT yahoo DOT fr>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Tue, 30 Mar 2004, bertrand marquis wrote:

> Hello
>
>     i.m trying to build the kernel under cygwin with a cross compiler
> (host=cygwin target=i386-linux) and it seems that the kernel need the
> loadkeys program to be build. I have tried to find it but it seems that
> it don't exist.
>  Does anyone know a solution for that problem ?
>
> thanks

Yep.  It's called "porting". :-)
Seriously, though, looking at the man page for "loadkeys", it doesn't seem
too relevant for Cygwin.  In particular, the entry for "--mktable" says:

    CREATE KERNEL SOURCE TABLE
       If the -m (or --mktable ) option is given loadkeys  prints
       to  the  standard  output  a  file  that  may  be  used as
       /usr/src/linux/drivers/char/defkeymap.c,  specifying   the
       default key bindings for a kernel (and does not modify the
       current keymap).

Sounds like the kernel is not very cross-compilation friendly (i.e., it's
expected to be compiled *on a Linux machine*).  One solution is to create
a "loadkeys" script that accepts only one option ("--mktable") and prints
out pre-defined text...  Alternatively, contact the authors of the code
and notify them that their code doesn't build on Cygwin (and probably
won't on OpenBSD, either).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019