GCC 4.7 and Cortex-R4F Big-Endian

Asked by jdobry

Hello,

Is it any chance to recompile GCC ARM Embedded 4.7 for Cortex-R4F Big-Endian?
I have great success with GCC ARM Embedded 4.6 2012q4 (update 3) with information from https://answers.launchpad.net/gcc-arm-embedded/+question/189066

But it is outdated for 4.7. For example this version haven't gcc/gcc/config/arm/t-armv7-r file.

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Solved by:
jdobry
Solved:
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
jdobry (jdobry) said :
#2

Nobody know?

Revision history for this message
Zaihas Amri Fahdzan (zaihas-amri) said :
#3

Hi All,
I also have the same problem.

Please help.

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
jdobry (jdobry) said :
#5

"expired" in system bud question still need answer.

Revision history for this message
jdobry (jdobry) said :
#6

Do-it-yourself is also way to do it.
Here is patch for big-enadian Cortex A/R support
[code]
--- gcc/gcc/config/arm/t-mlibs 2013-05-14 08:33:45.169620160 +0200
+++ gcc/gcc/config/arm/t-mlibs.old 2013-03-11 11:09:23.000000000 +0100
@@ -14,9 +14,6 @@
 MULTILIB_DIRNAMES += softfp fpu
 MULTILIB_OPTIONS += mfpu=fpv4-sp-d16/mfpu=vfpv3-d16
 MULTILIB_DIRNAMES += fpv4-sp-d16 vfpv3-d16
-MULTILIB_OPTIONS += mbig-endian
-MULTILIB_DIRNAMES += big-endian
-

 MULTILIB_MATCHES = march?armv6s-m=mcpu?cortex-m0
 MULTILIB_MATCHES += march?armv6s-m=mcpu?cortex-m0plus
@@ -79,19 +76,10 @@
 MULTILIB_REQUIRED += mthumb/march=armv7
 MULTILIB_REQUIRED += mthumb/march=armv7/mfloat-abi=softfp/mfpu=vfpv3-d16
 MULTILIB_REQUIRED += mthumb/march=armv7/mfloat-abi=hard/mfpu=vfpv3-d16
-MULTILIB_REQUIRED += mthumb/march=armv7/mbig-endian
-MULTILIB_REQUIRED += mthumb/march=armv7/mfloat-abi=softfp/mfpu=vfpv3-d16/mbig-endian
-MULTILIB_REQUIRED += mthumb/march=armv7/mfloat-abi=hard/mfpu=vfpv3-d16/mbig-endian
 MULTILIB_OSDIRNAMES += mthumb/march.armv7=!armv7-ar/thumb
 MULTILIB_OSDIRNAMES += mthumb/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16=!armv7-ar/thumb/fpu
 MULTILIB_OSDIRNAMES += mthumb/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16=!armv7-ar/thumb/softfp
-MULTILIB_OSDIRNAMES += mthumb/march.armv7/mbig-endian=!armv7-ar-bigE/thumb
-MULTILIB_OSDIRNAMES += mthumb/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16/mbig-endian=!armv7-ar-bigE/thumb/fpu
-MULTILIB_OSDIRNAMES += mthumb/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16/mbig-endian=!armv7-ar-bigE/thumb/softfp
 MULTILIB_REUSE += mthumb/march.armv7=marm/march.armv7
 MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16=marm/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16
 MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16=marm/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16
-MULTILIB_REUSE += mthumb/march.armv7/mbig-endian=marm/march.armv7/mbig-endian
-MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16/mbig-endian=marm/march.armv7/mfloat-abi.softfp/mfpu.vfpv3-d16/mbig-endian
-MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16/mbig-endian=marm/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16/mbig-endian
 endif
[/code]

Revision history for this message
jdobry (jdobry) said :
#7

Sorry I made "diff" in wrong order.
"-" means added lines