Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Hi,

I am trying to compile OpenGL Es sample example provided by qualcomm, When I am using cpu option in make file as arm7tdmi, I am able to genenrate mod.

but I want to compile it using cpu option as ARM926EJ-S. which is giving an error.

Can I build the sample example using GNU Compiler for above cpu option ?

GNU Toolchain from CodeSourcery supports ARM926EJ-S.

GNU Toolchain from CodeSourcery supports ARM926EJ-S.

hi,
can you explain in detail, I am getting following error when i change my mcpu option in make file from CPU=-mcpu=arm7tdmi to CPU=-mcpu=arm926ej.
C:\gnude/bin/arm-elf-gcc.exe -c -DDYNAMIC_APP -mcpu=arm926ej -mapcs-frame -mthumb-interwork -mlittle-endian -fshort-enums -fno-builtin -fno-exceptions -fsigned-char -IC:/gnude/3.1.4/inc -IC:\gnude\lib\gcc-lib\arm-elf\3.3.1\include -IC:\gnude\arm-elf\include -O2 -o AEEModGen.o C:/gnude/3.1.4/src/AEEModGen.c
cc1: error: bad value (arm926ej) for -mcpu= switch
make: *** [AEEModGen.o] Error 1
jituk

hi,
can you explain in detail, I am getting following error when i change my mcpu option in make file from CPU=-mcpu=arm7tdmi to CPU=-mcpu=arm926ej.
C:\gnude/bin/arm-elf-gcc.exe -c -DDYNAMIC_APP -mcpu=arm926ej -mapcs-frame -mthumb-interwork -mlittle-endian -fshort-enums -fno-builtin -fno-exceptions -fsigned-char -IC:/gnude/3.1.4/inc -IC:\gnude\lib\gcc-lib\arm-elf\3.3.1\include -IC:\gnude\arm-elf\include -O2 -o AEEModGen.o C:/gnude/3.1.4/src/AEEModGen.c
cc1: error: bad value (arm926ej) for -mcpu= switch
make: *** [AEEModGen.o] Error 1
jituk

Error shows that it does not recognize the arm926ej as CPU. It might be that GNUDE does not support ARM92EJ.

Error shows that it does not recognize the arm926ej as CPU. It might be that GNUDE does not support ARM92EJ.

Hi,
Thanks for the reply, can you tell me where can I find GNU Toolchain from CodeSourcery is it free ?
I visited the CodeSourcery site but couldn't find it.
jituk

Hi,
Thanks for the reply, can you tell me where can I find GNU Toolchain from CodeSourcery is it free ?
I visited the CodeSourcery site but couldn't find it.
jituk

it is available under the GNU Public License. so FREE

it is available under the GNU Public License. so FREE

hi,
I seached for GNU Toolchain from CodeSourcery . I got following options for download
Target Platform
The system on which the programs you build will run.
1. EABI
2. GNU/Linux
3. SymbianOS
If I want run my application on a phone that supports MSM 6550 using ARM926EJ-S. processor, then which one should I choose for ???

hi,
I seached for GNU Toolchain from CodeSourcery . I got following options for download
Target Platform
The system on which the programs you build will run.
1. EABI
2. GNU/Linux
3. SymbianOS
If I want run my application on a phone that supports MSM 6550 using ARM926EJ-S. processor, then which one should I choose for ???

You must use "SymbianOS" if for windows else you can use "GNU/Linux" i have not tried "EABI".

You must use "SymbianOS" if for windows else you can use "GNU/Linux" i have not tried "EABI".

Hi,
Thanks for your help, took some time to install CYGWIN. I am able to compile my code to generate Object files. The elf file is also generated. but I am getting some error will generating .mod file.
I am using BREWelf2mod.exe utility to convert my elf to mod. following is the error that I get
command : BREWelf2mod.exe ogles_demo_02.elf ogles_demo_02.mod
error : Unknown type "R_ARM_RREL32"
any Idea???

Hi,
Thanks for your help, took some time to install CYGWIN. I am able to compile my code to generate Object files. The elf file is also generated. but I am getting some error will generating .mod file.
I am using BREWelf2mod.exe utility to convert my elf to mod. following is the error that I get
command : BREWelf2mod.exe ogles_demo_02.elf ogles_demo_02.mod
error : Unknown type "R_ARM_RREL32"
any Idea???

hi,
I am using GNU Toolchain from CodeSourcery, to compile my code, and to generate .elf.
I am not able to generate .mod file? To generate .mod file I am using BREWelf2mod utility?
following are the errors that i am getting
command : BREWelf2mod.exe ogles_demo_02.elf ogles_demo_02.mod
error : Unknown type "R_ARM_RREL32"
any Idea ?

hi,
I am using GNU Toolchain from CodeSourcery, to compile my code, and to generate .elf.
I am not able to generate .mod file? To generate .mod file I am using BREWelf2mod utility?
following are the errors that i am getting
command : BREWelf2mod.exe ogles_demo_02.elf ogles_demo_02.mod
error : Unknown type "R_ARM_RREL32"
any Idea ?