This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
how to generate ALF library
- From: "mohanlal jangir" <mohanlaljangir at hotmail dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 29 Oct 2004 13:36:18 +0530
- Subject: how to generate ALF library
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.