Hi, I downloaded gdb 6.3(same occured at 6.2) and tried to build it as follows:
1=2E ../gdb-6.3/configure --target=3D$TARGET --prefix=3D${PREFIX} TARGET is armeb-xscale-linux-gnu (big endian arm) and PREFIX is armeb-xscale-linux-gnu directory 2=2E make but then after awhile I get the error: gcc -c -DHAVE_CONFIG_H -DPROFILE=3D1 -DWITH_PROFILE=3D-1-DDEFAULT_INLINE=3D0 -DMODET -DNEED_UI_LOOP_HOOK
-DSIM_TARGET_SWITCHES -I. -I../../../gdb-6.3/sim/arm -I../common
-I../../../gdb-6.3/sim/arm/../=ADcommon -I../../include
-I../../../gdb-6.3/sim/arm/../=AD../include -I../../bfd
-I../../../gdb-6.3/sim/arm/../=AD../bfd -I../../opcodes
-I../../../gdb-6.3/sim/arm/../=AD../opcodes -I../../intl
-I../../../gdb-6.3/sim/arm/../=AD../intl -g -O2 .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c: In function 'WMAC': .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:2117: error: invalid lvalue in assignment .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:2133: error: invalid lvalue in assignment .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c: In function 'WMADD': .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:2169: error: invalid lvalue in assignment .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:2177: error: invalid lvalue in assignment .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:2186: error: invalid lvalue in assignment .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:2191: error: invalid lvalue in assignment .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c: In function 'WSLL': .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:2840: warning: integer constant is too large for 'long' type .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c: In function 'WSRA': .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:2917: warning: integer constant is too large for 'long' type .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:2917: warning: integer constant is too large for 'long' type .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:2919: warning: integer constant is too large for 'long' type .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c: In function 'WSRL': .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:2988: warning: integer constant is too large for 'long' type .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c: In function 'WUNPCKEH': .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:3290: warning: integer constant is too large for 'long' type .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c: In function 'WUNPCKEL': .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:3357: warning: integer constant is too large for 'long' type .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c: In function 'Fetch_Iwmmxt_Register': .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:3707: warning: incompatible implicit declaration of built-in function 'memcpy' .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:3712: warning: incompatible implicit declaration of built-in function 'memcpy' .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c: In function 'Store_Iwmmxt_Register': .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:3722: warning: incompatible implicit declaration of built-in function 'memcpy' .=2E/../../gdb-6.3/sim/arm/iwmmx=ADt.c:3727: warning: incompatible implicit declaration of built-in function 'memcpy' make[2]: *** [iwmmxt.o] Error 1
Is there a special patch I need to apply in order to compile the gdb for armeb?