Problems with setup for Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with setup for Windows
- To: arm-gnu@xxxxxxxxxxxxxxxx
- Subject: Problems with setup for Windows
- From: Kai Schuetz <ks@xxxxxxx>
- Date: Wed, 21 Apr 2004 14:47:42 +0200
Hi !
I downloaded the gcc-arm binary package for windows. First I had to
figure out how to set up the environment, here is what I did:
set GCC_INSTALL_PATH=d:\ARM-GCC
set PATH=%GCC_INSTALL_PATH%\bin;%PATH%
set GCC_EXEC_PREFIX=%GCC_INSTALL_PATH%\libexec\gcc\arm-none-elf
set C_INCLUDE_PATH=%GCC_INSTALL_PATH%\lib\gcc\arm-none-elf\3.4.0\include
set CPLUS_INCLUDE_PATH=%GCC_INSTALL_PATH%\include\c++\3.4.0
set LIBRARY_PATH=%GCC_INSTALL_PATH%\lib\gcc\arm-none-elf\3.4.0
This allowed me at least to compile and assemble some code, but when the
linker is run I get the following error message:
d:/ARM-GCC/libexec/gcc/../../libexec/gcc/arm-none-elf/3.4.0/collect2.exe
-X -o dhry crti.o crtbegin.o
d:/ARM-GCC/libexec/gcc/../../arm-none-elf/lib/crt0.o
-Ld:/ARM-GCC/libexec/gcc/arm-none-elf
-Ld:/ARM-GCC/libexec/gcc/../../arm-none-elf/lib
C:\DOKUME~1\ks\LOKALE~1\Temp/cccTaaaa.o
C:\DOKUME~1\ks\LOKALE~1\Temp/ccIfbaaa.o -lgcc -lc -lgcc crtend.o crtn.o
d:\\ARM-GCC\\bin/arm-none-elf-ld.exe: crti.o: No such file: No such file
or directory
collect2: ld returned 1 exit status
Interestingly the crt0.o is preceeded by the full path whereas the path
is missing for the other .o files (crti.o, crtbegin.o, crtend.o ctrn.o)
Is there another environment variable to be set ?
Cross GCC FAQ does not help here since it assumes to install from source.
BTW, nice to have binary builds for the arm gcc compiler !
What's missing is some documentation how to set everything up (some
problem for Linux/Solaris btw). Not eveyone can install under /home/paul ;-)
--
Best Regards,
Kai
--
---------------------------------------------------------
Kai T. Schuetz Main: +49-2407-9086 0
Software Design Engineer Direct: +49-2407-9086 30
AXYS GmbH Fax: +49-2407-9086 11
Kaiserstr. 100, TPH III C
52134 Herzogenrath, Germany Email: ks@xxxxxxx
http://www.axysdesign.com
---------------------------------------------------------