Bug 3541 - Quotes in the top Makefile:217 break buildroot/kernel config build under cygwin
Summary: Quotes in the top Makefile:217 break buildroot/kernel config build under cygwin
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2011.02
Hardware: PC Windows
: P5 trivial
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-03 23:19 UTC by Oleg Semyonov
Modified: 2011-04-04 14:06 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Semyonov 2011-04-03 23:19:57 UTC
Quotes in the top Makefile:217 break buildroot/kernel config build under cygwin:

HOST_LOADLIBES="-lcurses -lintl"

This results, for instance, in the following command line:

/usr/bin/gcc -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -DLOCALE -DKBUILD_NO_NLS
 -I/cygdrive/c/Work/buildroot/buildroot-2011.02/output/build/buildroot-config
 /cygdrive/c/Work/buildroot/buildroot-2011.02/output/build/buildroot-config/conf.o
 /cygdrive/c/Work/buildroot/buildroot-2011.02/output/build/buildroot-config/zconf.tab.o
 "-lcurses -lintl"
 -o /cygdrive/c/Work/buildroot/buildroot-2011.02/output/build/buildroot-config/conf

And "-lcurses -lintl not found" error.

Fix: remove quotes:

HOST_LOADLIBES=-lcurses -lintl
Comment 1 Peter Korsgaard 2011-04-04 13:47:14 UTC
Committed, thanks.

Out of interest, is Buildroot really working for you on Cygwin? I don't recall ever hearing for any other Cygwin users.
Comment 2 Oleg Semyonov 2011-04-04 14:06:29 UTC
(In reply to comment #1)
> Out of interest, is Buildroot really working for you on Cygwin? I don't recall
> ever hearing for any other Cygwin users.

I am using it on Linux, but parts of software we're deleloping on Windows using MS Visual Studio for emulation win32 project and then cross-compiling the source for the arm target.

So I used buildroot under cygwin to build arm uClibc and C++ cross-toolchain (it works for me few years already). Trying to do this yesterday, it stopped building on busybox. But I just didn't have enough time to see the problem. It doesn't find some headers which are definitely exist (shadow.h).

Will be interesting if I could build whole file system and kernel under cygwin in the end :-)  Don't say it is very important for us, but it is at least interesting to try.