This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

/cygdrive/c/Cygnus/arm-tools/bin/arm-uclibc-as:unrecognized option '-c'

Hello,

I am getting this above error, when I compile with Cygnus.
In fact, I compile many C files Simultaneously using XML file and a 'native properties' file.
The 'native properties' file contains:

/ DIRECTORIES
rootBuild = ${GxOSrootDir}/${productBuild}
generationPrjDir=${rootBuild}
toolsProductDir=${GxOSrootDir}/tools
ToolsDir = ${toolsProductDir}/generation/s3s91j
CompilerPath = C:/Cygnus/arm-tools
CygwinPath = ${CompilerPath}/../cygwin/bin
ObjOutputDir = bin/obj
binDir = bin
PathConfig=${GxOSrootDir}/configuration/s3fs91j
PathBootLoader=${GxOSrootDir}/product/btld_s3fs91j
pluginOutPrjDir=${rootBuild}/bin/plugin

// TOOLS
FrameGenerator = ${toolsProductDir}/frame_generator/bin/frame_generator.exe
GetTheFilterDate = ${FrameGenerator}
GenerateAtf = ${GetTheFilterDate}
Doxygen = ${toolsProductDir}/doxygen.exe
Compiler16bits = ${CompilerPath}/bin/arm-uclibc-gcc.exe
Compiler32bits = ${CompilerPath}/bin/arm-uclibc-gcc.exe
Assembly = ${CompilerPath}/bin/arm-uclibc-as.exe
Linker = ${CompilerPath}/bin/arm-uclibc-ld.exe
binaryGen = ${CompilerPath}/bin/arm-uclibc-readelf.exe
ObjDump = ${CompilerPath}/bin/arm-uclibc-objdump.exe
ObjDumpFlag = --disassemble --all-headers --source
ObjSize = ${CompilerPath}/bin/arm-uclibc-size.exe

// CompilerOption =

CompilerOption = -mbig-endian -c -mcpu=arm7tdmi -E -g -Wall

Thumb_code_16 =
ARM_code_32 =
CompilerIncludeOption = -I
CompilerOutOption = -o
CompilerDefineOption = -DS3FS91j -DNO_PUTMEM -DNANDFLASH_ERASE_TEST -DFTL_SAMSUNG_Y -DNAND_CURRENT_CONTROLLER=3 -DNFL_GENERIC

// AssemblyOption =

AssemblyOption = -mbig-endian -c -mcpu=armv7tdmi -E -g -Wall

AssemblyDefineOption =
AssemblyOutOption = -o

Perhaps, I have errors in this file for example in Compilation option .

I am using this toolchain for compiling,assembling,linking and debugging.

I waite for your help please.
thanks in advance

wahid