⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 crosstool-0.38-kernel-allow-gcc4.diff

📁 做好的交叉编译工具链
💻 DIFF
字号:
--- crosstool-0.38/patches/linux-2.6.8/gcc-4-mconf.patch	1970-01-01 01:00:00.000000000 +0100+++ crosstool-0.38/patches/linux-2.6.8/gcc-4-mconf.patch	2006-01-09 17:47:29.000000000 +0100@@ -0,0 +1,29 @@+#+# Submitted-By: Juergen Beisert, 2006-01-09+# Committed-By: Juergen Beisert+#+# Error:+#+# scripts/kconfig/mconf.c:91: error: static declaration of 'current_menu' follows non-static declaration+# scripts/kconfig/lkc.h:63: error: previous declaration of 'current_menu' was here+#+# Description:+#+# "current_menu" is a global variable, used in various files, So the "static" is wrong at this location.+# GCC < 4 ignores it, GCC 4 fails.+#+# State:+#+# don't submit+#+--- linux-2.6.8/scripts/kconfig/mconf.c_old	2006-01-09 17:24:11.000000000 +0100++++ linux-2.6.8/scripts/kconfig/mconf.c	2006-01-09 17:24:47.000000000 +0100+@@ -88,7 +88,7 @@+ static int indent;+ static struct termios ios_org;+ static int rows = 0, cols = 0;+-static struct menu *current_menu;++/* static */ struct menu *current_menu;	/* fails on GCC-4 (jbe) */+ static int child_count;+ static int do_resize;+ static int single_menu_mode;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -