- 爱易网页
-
Linux
- windows上使用GNUWIN32的Make操作时出错
日期:2014-05-16 浏览次数:20881 次
windows下使用GNUWIN32的Make操作时出错
windows下使用GNUWIN32的Make操作时出错,GNUWIN32安装位置C:\Documents and Settings\Administrator\桌面\SAMBA相关\GNUWIN32\GetGnuWin32\gnuwin32\bin,AT91SAM的安装路径为C:\Program Files\ATMEL Corporation\AT91-ISP v1.12\SAM-BA v2.8\applets\isp-applets\extram,CodeSourcery安装位置C:\Program Files\CodeSourcery\Sourcery_CodeBench_for_ARM_EABI,在该目录下有arm-none-eabi文件件,该下面有个BIN文件夹,下面有gcc.exe;该目录下还有一个BIN文件,里面有arm-none-eabi-gcc.exe,我在配置编译器的时候,这两个编译器均进行了尝试,错误都一样,如下:
C:\Documents and Settings\Administrator\桌面\SAMBA相关\GNUWIN32\GetGnuWin32\gnuw
in32\bin>make -C "C:\Program Files\ATMEL Corporation\AT91-ISP v1.12\SAM-BA v2.8\
applets\isp-applets\extram" CHIP=at91sam9260 BOARD=at91sam9260-ek MEMORY=sram_sa
mba DYN_TRACES=1 clean all
make: Entering directory `C:/Program Files/ATMEL Corporation/AT91-ISP v1.12/SAM-
BA v2.8/applets/isp-applets/extram'
rm -f obj/*.o bin/*.bin bin/*.elf
rm: 无法删除‘obj/*.o’: Invalid argument
rm: 无法删除‘bin/*.bin’: Invalid argument
rm: 无法删除‘bin/*.elf’: Invalid argument
make: [clean] 错误 1 (忽略)
../../../../../../CodeSourcery/Sourcery_CodeBench_for_ARM_EABI/bin arm-none-eabi
-gcc -g -Os -I../../at91lib/boards/at91sam9260-ek -I../../at91lib/peripherals -
I../../at91lib/components -I../../at91lib -Dat91sam9260 -D__ASSEMBLY__ -c -o obj
/isp_cstartup.o ../common/isp_cstartup.S
process_begin: CreateProcess(NULL, ../../../../../../CodeSourcery/Sourcery_CodeB
ench_for_ARM_EABI/bin arm-none-eabi-gcc -g -Os -I../../at91lib/boards/at91sam926
0-ek -I../../at91lib/peripherals -I../../at91lib/components -I../../at91lib -Dat
91sam9260 -D__ASSEMBLY__ -c -o obj/isp_cstartup.o ../common/isp_cstartup.S, ...)
failed.
make (e=2): 系统找不到指定的文件。
make: *** [obj/isp_cstartup.o] 错误 2
make: Leaving directory `C:/Program Files/ATMEL Corporation/AT91-ISP v1.12/SAM-B
A v2.8/applets/isp-applets/extram'
以下为makefile文件:
# ----------------------------------------
# ATMEL Microcontroller Software Support - ROUSSET -
# ----------------------------------------
# Copyright (c) 2007, Atmel Corporation
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# - Redistributions of source code must retain the above copyright notice,
# this list of conditions and the disclaimer below.
#
# - Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the disclaimer below in the documentation and/or
# other materials provided with the distribution.
#
# Atmel's name may not be used to endorse or promote products derived from
# this software without specific prior written permission.