This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> Hi, > > I've recently had success building the following tools: > > binutils-2.9.5.029 > gcc-2.95.2 > newlib-1.8.2 > gdb-20000305 > > My target for all of these builds was : arm-elf > My host is i686 Linux. > My experience in the past has been strictly with > the ARM SDT. But now I wish to explore using the > GNU toolchain. > > Here are my questions: > > 1) Does a target of arm-elf also include support for thumb > code? No. You currently have to build a separate compiler (thumb-elf). This is similar to with the ARM SDT, which has armcc and tcc. Work is in progress to produce a combined arm/thumb version of the compiler. > > 2) Does the gdb build include a type of ARMulator for simulating > the arm code? How is the code simulated? Yes. It is based on a version of the ARMulator that ARM released under GPL. > > 3) Is simulation as simple as: > > arm-elf-gcc -g -o hello hello.c > arm-elf-gdb test > (gdb) run > Starting program: /home/projects/Embedded/hello > You can't do that without a process to debug. > (gdb) You will probably have to add the command "target sim" somewhere, and maybe a few other commands (though it is often possible to put these in your .gdbinit file. > > Many thanks for your help, > No problem Richard. ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |