This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

crosstoll-ng 1.15.2 build still failing on Cygwin


Hi All,

The crosstool-ng web site claims that 1.15.2? plays nicely with Cygwin now but it fails to build.

I found someone else already submitted the below patch but it has not been incorporated into crosstool-ng 1.15.2? for some reason.

I am being bombarded with people asking why crosstool-ng is failing to build on Cygwin since there is a lot
demand to cross compile from Windows(Cygwin) to the 'Raspberry Pi' board.

Please incorporate this patch so that we don't have to fix it over again in the next release of crosstool-ng.

Thank you.

Ian.

--- crosstool-ng-1.15.0_old/kconfig/Makefile??? 2012-04-30 16:54:20.000000000 -0400

+++ crosstool-ng-1.15.0/kconfig/Makefile??????? 2012-05-08 11:10:24.950066100 -0400

@@ -35,20 +35,21 @@

conf_OBJ = $(patsubst %.c,%.o,$(conf_SRC))

conf_DEP = $(patsubst %.o,%.dep,$(conf_OBJ))

$(conf_OBJ) $(conf_DEP): CFLAGS += $(INTL_CFLAGS)

+conf: LDFLAGS += -lintl

?

# What's needed to build 'mconf'

mconf_SRC = mconf.c

mconf_OBJ = $(patsubst %.c,%.o,$(mconf_SRC))

mconf_DEP = $(patsubst %.c,%.dep,$(mconf_SRC))

$(mconf_OBJ) $(mconf_DEP): CFLAGS += $(NCURSES_CFLAGS) $(INTL_CFLAGS)

-mconf: LDFLAGS += $(NCURSES_LDFLAGS)

+mconf: LDFLAGS += -lintl $(NCURSES_LDFLAGS)

?

# What's needed to build 'nconf'

nconf_SRC = nconf.c nconf.gui.c

nconf_OBJ = $(patsubst %.c,%.o,$(nconf_SRC))

nconf_DEP = $(patsubst %.c,%.dep,$(nconf_SRC))

-$(nconf_OBJ) $(nconf_DEP): CFLAGS += $(INTL_CFLAGS)

-nconf: LDFLAGS += -lmenu -lpanel -lncurses

+$(nconf_OBJ) $(nconf_DEP): CFLAGS += -I/usr/include/ncurses/ $(INTL_CFLAGS)

+nconf: LDFLAGS += -lintl -lmenu -lpanel -lncurses

?

# Under Cygwin, we need to auto-import some libs (which ones, exactly?)

# for mconf and nconf to lin properly.

--- crosstool-ng-1.15.0_old/kconfig/nconf.c???? 2012-04-30 16:54:20.000000000 -0400

+++ crosstool-ng-1.15.0/kconfig/nconf.c 2012-05-07 16:47:39.618358900 -0400

@@ -1518,7 +1518,7 @@

????? }

??????? notimeout(stdscr, FALSE);

-?????? ESCDELAY = 1;

+?????? set_escdelay(1);

?

??????? /* set btns menu */

??????? curses_menu = new_menu(curses_menu_items);
-- 		 	   		  

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]