how to generate ALF library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a compiler (tcc) for ARM7TDMI target. When I use "file" command for
the file generated by the mentioned compiler, I get
$file libsomod.16l
libsomod.16l: RISC OS Chunk Data,  ALF Library

I have build gcc cross compiler for same target. I am using cygwin over
windows XP. The compiler version is as follows:

$arm-thumb-elf-gcc -v
Reading specs from /arm/lib/gcc-lib/arm-thumb-elf/3.3.5/specs
Configured with:
/arm/gcc-3.3-20040707/configure --target=arm-thumb-elf --prefix=/arm --witho
ut-libs
Thread model: single
gcc version 3.3.5 20040707 (prerelease)

How can use arm-thumb-elf-gcc to generated code for ARM7TDMI target (ALF
Library)?

Also when I create a.out file using "arm-thumb-elf-gcc -mthumb hello.c", the
command "file a.out" shows
$file a.out
a.out: ELF 32-bit LSB executable, ARM, version 1 (ARM), statically linked,
not stripped

Shouldn't -mthumb option create 16-bit executable? I am using ARM7TDMI core
in 16bit mode.

Regards
Mohanlal

P.S. Please CC replies to me. I am not subscribed to the list.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux