Hi All! Could anyone please help me to gain an understanding on subject. The situation is as follows: I built from the sources GCC 3.2.3, 3.3.2, 2.95.2 and 2.95.3 with GPC (I tried versions of GPC 20020510 and 20030830). As it is written in documentation, to make program work on ARM without MMU, it's necessary to use compiler switch -mno-got (ot mno-gotplt) but this option is available only for CRIS architecture, not for ARM. AFAIK the sequence of steps to build some Pascal program for ARM without MMU is (at least, I acted in this way): 1. configure GCC sources together with GPC with switches --enable-languages=all --target=arm-elf 2. build the whole toolchain 3. build target program for ARM (using option -mno-gotplt (or -mno-got)) 3. make flat executable file for ARM using elf2flt utility
Anyway, the compiler tells me that 'no-got' is an unknown option. Is anyone experienced in the subject?
Another problem which I was having during building cross compiler GPC for ARM (GCC of version 3.2.3, GPC of version 20030830, Red Hat Linux 9, kernel 2.4.20, binutils of version 2.14, host i686):
I didn't manage to build it all together for the first time. It showed me some error (unfortunatly, don't remember now) I was forced to do like this: 1. configure, build and install gcc with configuration --target=arm-elf 2. configure, build and install gcc with configuration --enable-languages=pascal --target=arm-elf 3. configure, build and install gcc with configuration --enable-languages=all --target=arm-elf
I'll be very grateful for any ideas.
Best regards, Igor Marnat. mailto:marny@rambler.ru
On Fri, 19 Dec 2003, Ingvar Marny wrote:
Hi All! Could anyone please help me to gain an understanding on subject. The situation is as follows: I built from the sources GCC 3.2.3, 3.3.2, 2.95.2 and 2.95.3 with GPC (I tried versions of GPC 20020510 and 20030830). As it is written in documentation, to make program work on ARM without MMU, it's necessary to use compiler switch -mno-got (ot mno-gotplt) but this option is available only for CRIS architecture, not for ARM. AFAIK the sequence of steps to build some Pascal program for ARM without MMU is (at least, I acted in this way):
- configure GCC sources together with GPC with switches
--enable-languages=all --target=arm-elf 2. build the whole toolchain 3. build target program for ARM (using option -mno-gotplt (or -mno-got))
try using option -mcpu=arm7tdmi
this from R M Stallman "Using and Porting GNU CC" page 69. however, there may be something else I overlooked. Russ