On Thu, 20 Nov 2003, wugang wrote:
> This afternoon I tried to connect DevCpp with arm compiler.
Well, I never use it, so don't think I can be too helpful
>
> The arm compile/link tools in my computer work well with another IDE. They can
> generate .elf format file for arm cpu:
>
> arm-elf-gcc.exe
>
> arm-elf-ld.exe
>
> make.exe //Frankly, I dont know the difference between make.exe and
> arm-elf-ld.exe
Ehm, I don't know the arm compiler, as I said, but if names are like GNU
gcc, ld perform only linking, and in Dev-C++ is tipically invoked in
automatic by gcc, while make interpret a makefile (in Dev-C++ you should
have a Makefile.win near your project) to call appropriately gcc.
>
> arm-elf-cpp.exe //this tool is meanless to me for I never use cpp.
Again, don't know arm, but in GNU compiler this doesn't mean 'C++', but 'C
PreProcessor', so you need it, but not to call dirtectly, because it's
called automatically by gcc.
> Now I configure DevCpp like this:
>
> Tools->compiler options->programs,
>
> In "gcc" I fill with c:\hitool.arm\Compiler\pc-cygwin\bin\arm-elf-gcc.exe,
>
> in "make" I fill with c:\hitool.arm\Compiler\pc-cygwin\bin\arm-elf-ld.exe.
I think it should be arm-elf-make
> The error information is:
>
> D:\cygdrive\c\hitool.arm\Compiler\pc-cygwin\bin\arm-elf-ld
>
> cannot open clean: No such file or directory.
It calls make clean to let make delete all outdated files of previous
compilations
Let us know if you get your compiler work. Good luck.
Ferdinando
|