Hello all!
I am trying to setup the GNU tool chain (again) under Linux for use with
my Brutus board only I've run into a few snags.
I am running a relatively clean installation of RedHat 6.1...
I've been following the directions's from Inte's site:
developer.intel.com/design/strong/applnots/sa11001x/getstart.htm#1001539
(alternativly just goto developer.intel.com choose StrongARM for products
and choose application notes then choose Linux...).
The only real difference between what I've done and what's on the Intel
site as far as GNU packages is that I'm using EGCS 1.1.2 and the
apropriate ARM patch from Phil. B as opposed to EGCS 1.1.1 and a patch.
At anyrate, I get to "Building the EGCS C++ Compiler" and everything seems
to execute fine (I do get an error message when building EGCS that when it
tested it to compile a program it failed; the last step of the make).
None the less I drudged through, and wrote the hello world progarm
(exactly as Intel has it, no crazy stuff here) and when I tried to compile
it failed.
This is the output from arm-linux-gcc:
[root@c1007135-a egcs-1.1.2]# arm-linux-gcc -v -o helloarm hello.c
Reading specs from /usr/local/arm/lib/gcc-lib/arm-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990325/philb (egcs-1.1.2 release)
/usr/local/arm/lib/gcc-lib/arm-linux/egcs-2.91.66/cpp -lang-c -v -undef
-D__GNUC__=2 -D__GNUC_MINOR__=91 -Dunix -Darm -Dlinux -D__ELF__ -D__unix__
-D__arm__ -D__linux__ -D__ELF__ -D__unix -D__arm -D__linux -Asystem(unix)
-Asystem(posix) -Acpu(arm) -Amachine(arm) -D__CHAR_UNSIGNED__
-D__ARM_ARCH_3__ -D__APCS_32__ hello.c /tmp/cc2dn0Yd.i
GNU CPP version egcs-2.91.66 19990325/philb (egcs-1.1.2 release) (ARM
GNU/Linux with ELF)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/arm/lib/gcc-lib/arm-linux/egcs-2.91.66/include
/usr/local/arm/arm-linux/sys-include
/usr/local/arm/arm-linux/include
End of search list.
/usr/local/arm/lib/gcc-lib/arm-linux/egcs-2.91.66/cc1 /tmp/cc2dn0Yd.i
-quiet -dumpbase hello.c -version -o /tmp/ccoDhfwp.s
GNU C version egcs-2.91.66 19990325/philb (egcs-1.1.2 release) (arm-linux)
compiled by GNU C version egcs-2.91.66 19990314/Linux (egcs-1.1.2
release).
/usr/local/arm/arm-linux/bin/as -o /tmp/ccQRaJvG.o /tmp/ccoDhfwp.s
/usr/local/arm/lib/gcc-lib/arm-linux/egcs-2.91.66/collect2
-dynamic-linker /lib/ld-linux.so.2 -X -m elf32arm -o helloarm crt1.o
crti.o /usr/local/arm/lib/gcc-lib/arm-linux/egcs-2.91.66/crtbegin.o
-L/usr/local/arm/lib/gcc-lib/arm-linux/egcs-2.91.66
-L/usr/local/arm/arm-linux/lib /tmp/ccQRaJvG.o -lgcc -lc -lgcc
/usr/local/arm/lib/gcc-lib/arm-linux/egcs-2.91.66/crtend.o crtn.o
/usr/local/arm/arm-linux/bin/ld: cannot open crt1.o: No such file or
directory
collect2: ld returned 1 exit status
The binutils are in my path (permanently as executed by my bash_profile).
I followed Intel's directoy conventions to the letter (I changed nothing).
Furthermore, I've tried re-doing the EGCS compile, GLIBC etc. all from
scratch and no such luck. (I've removed the armbuild directory and the
Linux kernel source 2.2.2 entirely and started over, that didn't help).
I was told that I need to use "ldconfig" but running that under /sbin/
(/sbin/./ldconfig) didn't help. I read the man page but that didn't give
me any real direction.
FYI: searching for crt1.o, I found it in (using whereis) /usr/lib
I'd appreciate any suggestions/pointers to getting the GNU stuff properly
setup. Should I use newer versions of BinUtils and EGCS? If so what
patches will I need to apply? My current target is Brutus (SA-1100).
I've gotten the ARM SDT 2.5 tools to "work" on Win95 (if you call having
to exit and re-start everytime you wanna load a new image) so I know
Brutus is ready to boot Linux!
If I wanted the output "console" (Linux login, etc) to appear on the LCD
would I have to write the LCD driver or is there something I can use to
get basic text on the screen? Anything for the keyboard IC (USAR
SPICoder)?
Thanks for the help and sorry if this is too "newbeish."
Vasant.
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]