Skip to contentSkip to conversation

CygWin Cross-tool Package?

DISCUSSION Kevin D. Kissell 4 participants 5 messages Jan 2, 2011 – Jan 3, 2011 MIPS

lore
Share & tools
lore
#0 lore raw

As the person guilty of inventing the damned thing, I've been trying to help folks keep the SMTC kernel working, but it's strictly a spare-time thing - nobody pays me for time or materials. So I'm not willing to spend the time and money to set up a Linux box at home that would serve only to build SMTC kernels. For better or for worse, my home office
system is a Windows XP machine. I've got Cygwin installed, and that
gives me git to peruse the sources, but I've got no means of building a kernel. I know that, in theory, I could build my own MIPS/Linux cross tools under Cygwin, but looking at various email archives, it looks like the procedure is moderately complex and fragile, and, frankly, I just don't have the spare time to deal with it. By any chance, could one of you point me to a functional, pre-built package I could install under Cygwin to do kernel builds?

Regards,

Kevin K.

#1 lore raw

Hello Kevin,

Quoted 5 lines · On Sunday 02 January 2011 21:06:22 Kevin D. Kissell wrote:

As the person guilty of inventing the damned thing, I've been trying to help folks keep the SMTC kernel working, but it's strictly a spare-time thing - nobody pays me for time or materials. So I'm not willing to spend the time and money to set up a Linux box at home that would serve only to build SMTC kernels. For better or for worse, my home office

Quoted 8 lines

system is a Windows XP machine. I've got Cygwin installed, and that
gives me git to peruse the sources, but I've got no means of building a kernel. I know that, in theory, I could build my own MIPS/Linux cross tools under Cygwin, but looking at various email archives, it looks like the procedure is moderately complex and fragile, and, frankly, I just don't have the spare time to deal with it. By any chance, could one of you point me to a functional, pre-built package I could install under Cygwin to do kernel builds?

Providing that you install of the required dependencies (subversion, flex, bison ...), OpenWrt can build a Linux kernel and root filesystem under Cygwin.

Hope that helps.
--
Florian

#2 lore raw
Quoted 10 lines · Florian Fainelli

Hello Kevin,

Quoted 3 lines · On Sunday 02 January 2011 21:06:22 Kevin D. Kissell wrote:

...By any chance, could one of
you point me to a functional, pre-built package I could install under Cygwin to do kernel builds?

Providing that you install of the required dependencies (subversion, flex, bison ...), OpenWrt can build a Linux kernel and root filesystem under Cygwin.

Hope that helps.

Sigh. It looked promising, but...

$ make menuconfig
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... failed.
Checking 'getopt'... ok.
Checking 'fileutils'... ok.
Checking 'working-gcc'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... failed.
Checking 'zlib'... ok.
Checking 'gawk'... ok.
Checking 'flex'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'patch'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'wget'... ok.
Checking 'gnutar'... ok.
Checking 'svn'... ok.
Checking 'gnu-find'... ok.
Checking 'getopt-extended'... ok.
Checking 'non-root'... ok.

Build dependency: OpenWrt can only be built on a case-sensitive filesystem
...

It will probably be easier for me to get some random cheap PC running Ubuntu than to get a non-case-sensitive filesystem working on an existing XP platform.

Any recommendations on cross tool packages for X86/X86-64 Ubuntu installations? Or would splicing the linux-mips.org kernel tree under the OpenWrt structure - but under Linux this time - still be the shortest path?

Regards, and thanks,

Kevin K.

#3 lore raw
Quoted 33 lines · Kevin D. Kissell

Sigh. It looked promising, but...

$ make menuconfig
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... failed.
Checking 'getopt'... ok.
Checking 'fileutils'... ok.
Checking 'working-gcc'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... failed.
Checking 'zlib'... ok.
Checking 'gawk'... ok.
Checking 'flex'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'patch'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'wget'... ok.
Checking 'gnutar'... ok.
Checking 'svn'... ok.
Checking 'gnu-find'... ok.
Checking 'getopt-extended'... ok.
Checking 'non-root'... ok.

Build dependency: OpenWrt can only be built on a case-sensitive filesystem
...

It will probably be easier for me to get some random cheap PC running Ubuntu than to get a non-case-sensitive filesystem working on an existing XP platform.

Quoted 9 lines

Any recommendations on cross tool packages for X86/X86-64 Ubuntu installations? Or would splicing the linux-mips.org kernel tree under the OpenWrt structure - but under Linux this time - still be the shortest path?

Regards, and thanks,

Kevin K.

Hello,
If you really want to still use window$, you can use vwmare with an ubuntu virtual machine.

Best regards,
AWG

#4 lore raw
In reply to Kevin D. Kissell
Quoted 39 lines · On Monday 03 January 2011 16:38:20 Kevin D. Kissell wrote:
Quoted 7 lines · Florian Fainelli

Hello Kevin,

Quoted 3 lines · On Sunday 02 January 2011 21:06:22 Kevin D. Kissell wrote:

...By any chance, could one of
you point me to a functional, pre-built package I could install under Cygwin to do kernel builds?

Quoted 5 lines

Providing that you install of the required dependencies (subversion, flex, bison ...), OpenWrt can build a Linux kernel and root filesystem under Cygwin.

Hope that helps.

Sigh. It looked promising, but...

$ make menuconfig
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... failed.
Checking 'getopt'... ok.
Checking 'fileutils'... ok.
Checking 'working-gcc'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... failed.
Checking 'zlib'... ok.
Checking 'gawk'... ok.
Checking 'flex'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'patch'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'wget'... ok.
Checking 'gnutar'... ok.
Checking 'svn'... ok.
Checking 'gnu-find'... ok.
Checking 'getopt-extended'... ok.
Checking 'non-root'... ok.
Quoted 6 lines

Build dependency: OpenWrt can only be built on a case-sensitive filesystem
...

It will probably be easier for me to get some random cheap PC running Ubuntu than to get a non-case-sensitive filesystem working on an existing XP platform.

And that can be achieved simply by using a case sensitive mount:
http://www.mail-archive.com/[email protected]/msg81382.html

Quoted 5 lines

Any recommendations on cross tool packages for X86/X86-64 Ubuntu installations? Or would splicing the linux-mips.org kernel tree under the OpenWrt structure - but under Linux this time - still be the shortest path?

OpenWrt or some other project like buildroot would work fine building a toolchain and kernel for that specific target.
--
Florian