[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible to cross-compile Nano 4.8 with MinGW? (re: errors)
From: |
Liu Hao |
Subject: |
Re: Possible to cross-compile Nano 4.8 with MinGW? (re: errors) |
Date: |
Tue, 11 Feb 2020 10:04:53 +0800 (CST) |
在 2020/2/11 上午3:39, John Klimek 写道:
> I’m not sure if this is the best place to ask, but is it possible to
> cross-compile Nano v4.8 with MinGW?
>
> I’m getting an error regarding sys/ioctl.h which it doesn’t look like MinGW
> provides. Furthermore, it looks like Nano uses the F_GETFL/F_SETFL macros
> which are also undefined.
>
> Does anybody have any tips on how I can get this compiled?
>
> (I did see a win32 version of Nano on the website, but it’s from 2017 so it’s
> quite old)
>
Please have a look at <https://github.com/lhmouse/nano-win>.
It is not possible to build nano without modifying its source. The
README has described what have been added and what have been removed well.
The _vanilla_ branch synchronizes with the _master_ branch here, the
_patches_ branch is what I use on Linux, and the _master_ branch can be
built on mingw-w64.
I don't have a Windows machine at hand so _master_ has been left behind
_vanilla_ a little. I will update it when I have access.
--
Best regards,
LH_Mouse