看板FreeBSD
标 题Re: 关於Makefile的问题
发信站小鹿鹿 BBS (Fri Mar 21 19:37:56 2008)
转信站ptt!ctu-reader!news.nctu!abpe.org
※ 引述《[email protected] (catching)》之铭言:
> ※ 引述《catching (catching)》之铭言:
> > 不过我的确有装gmake耶
> > %pkg_info | grep gmake
> > gmake-3.81_2 GNU version of 'make' utility
> 我不确定是不是环境变数的问题耶
> 因为我刚刚重开了一个screen
> 这时候下这个指令就会变成
> # gmake menuconfig
> arm-linux-ld: not found
> arm-linux-gcc: not found
> expr: syntax error
> KERNELRELEASE "2.4.19-rmk4-pxa1" exceeds 64 characters
> gmake: *** [include/linux/version.h] Error 1
如果你想在 FreeBSD 上 compile Linux ARM 上的东西,用 /usr/ports/devel/
下的这些包好的工具「可能」会比较适合:
drwxr-xr-x 2 root wheel 512 Nov 15 08:41 arm-elf-binutils/
drwxr-xr-x 3 root wheel 512 Nov 15 08:41 arm-elf-gcc295/
drwxr-xr-x 2 root wheel 512 Nov 15 08:41 arm-rtems-binutils/
drwxr-xr-x 2 root wheel 512 Nov 15 08:41 arm-rtems-g77/
drwxr-xr-x 2 root wheel 512 Nov 15 08:41 arm-rtems-gcc/
drwxr-xr-x 2 root wheel 512 Nov 15 08:41 arm-rtems-gdb/
drwxr-xr-x 2 root wheel 512 Nov 15 08:41 arm-rtems-objc/
我自己在 FreeBSD 上没试成功过,最後我是到 linux 上 cross-compiling。
--
Resistance is futile.
http://blog.gslin.org/ & <
[email protected]>
--
※ Origin: 邪恶小鹿鹿 <Deer.twbbs.org> ◆ From: 140.113.17.29