Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-06 Thread Liew Tsi Chung
Tsi Chung Cc: Shinya Kuribayashi; U-Boot-Users; Rigby John; Mahan Kurt Subject: Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC In message [EMAIL PROTECTED] you wrote: Could you confirm it builds with Today's config.mk patch by Wolfgang? If it works (I think

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-06 Thread Shinya Kuribayashi
Hi Kurt, Kurt Mahan wrote: Shinya Kuribayashi wrote: Liew Tsi Chung wrote: I am using Fedora 8. Also, the problem can be generated if using Fedora 4 and 5 except 3. If you have a Fedora 4 and above, please try it. I bet you will run into the same problem as Kurt and I did. I ran into the

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-05 Thread Liew Tsi Chung
Wolfgang and Shinya, Could you confirm it builds with Today's config.mk patch by Wolfgang? If it works (I think it will), I'm satisfied with that. With original $(CC) in cpu/*/config.mk and Wolfgang's config.mk patch: Still generates the same error (see below) Regards, TsiChung [snip]

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-05 Thread Liew Tsi Chung
Wolfgang, Please ignore the previous email stated the new patch did not work. Apparently, it must have been a mistake that I made after applied your patch. Now, your patch work, still waiting for Kurt to confirm it. Does this patch make into u-boot 1.3.3-rc3? Thanks. Regards, TsiChung

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: Could you confirm it builds with Today's config.mk patch by Wolfgang? If it works (I think it will), I'm satisfied with that. With original $(CC) in cpu/*/config.mk and Wolfgang's config.mk patch: Still generates the same error (see below) Can you

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-04 Thread Liew Tsi Chung
:[EMAIL PROTECTED] Sent: Sat 5/3/2008 10:49 PM To: Liew Tsi Chung Cc: [EMAIL PROTECTED]; U-Boot-Users; Rigby John; Mahan Kurt Subject: Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC Liew Tsi Chung wrote: Shinya, Which linux distro are you using? [snip

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-04 Thread Shinya Kuribayashi
Liew Tsi Chung wrote: I am using Fedora 8. Also, the problem can be generated if using Fedora 4 and 5 except 3. If you have a Fedora 4 and above, please try it. I bet you will run into the same problem as Kurt and I did. I can't try Fedora[458] in the immediate future, sorry. But at last I'm

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-04 Thread Kurt Mahan
Shinya Kuribayashi wrote: Liew Tsi Chung wrote: I am using Fedora 8. Also, the problem can be generated if using Fedora 4 and 5 except 3. If you have a Fedora 4 and above, please try it. I bet you will run into the same problem as Kurt and I did. I ran into the problem with OpenSuSE 10.2 I

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-04 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: I am using Fedora 8. Also, the problem can be generated if using Fedora 4 and 5 except 3. If you have a Fedora 4 and above, please try it. I bet you will run into the same problem as Kurt and I did. I ran into the problem with OpenSuSE 10.2 And...

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-03 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: PLATFORM_RELFLAGS += -ffixed-d7 -msep-data -ifeq ($(findstring 4.2,$(shell $(CC) --version)),4.2) +ifeq ($(findstring 4.2,$(shell $(CROSS_COMPILE)gcc --version)),4.2) PLATFORM_CPPFLAGS += -mcpu=5208 -fPIC else PLATFORM_CPPFLAGS += -m5307

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-03 Thread Liew Tsi Chung
] ColdFire: Get information from the correct GCC Liew Tsi Chung wrote: when gcc version is 4.2. When it comes to linking, the $(shell $(CC) --version) becomes other value and select the -m5407 option with different libgcc. I reverted this $(CC)-$(CROSS_COMPILE)gcc-conversion patch and built

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-03 Thread Shinya Kuribayashi
Liew Tsi Chung wrote: Shinya, Which linux distro are you using? [snip] -Map u-boot.map -o u-boot m68k-uclinux-objcopy --gap-fill=0xff -O srec u-boot u-boot.srec m68k-uclinux-objcopy --gap-fill=0xff -O binary u-boot u-boot.bin [EMAIL

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-02 Thread Liew Tsi Chung
Wolfgang, Stop! We are not talking about $(CC)gcc! The change was this: -ifeq ($(findstring 4.2,$(shell $(CC) --version)),4.2) +ifeq ($(findstring 4.2,$(shell $(CROSS_COMPILE)gcc --version)),4.2) And ``$(CC)'' and ``$(CROSS_COMPILE)gcc'' should be really the same here. Sorry for the

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-02 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: And ``$(CC)'' and ``$(CROSS_COMPILE)gcc'' should be really the same here. Sorry for the confusion, and yes both $(CC) and $(CROSS_COMPILE)gcc are the same. It is unsolvable behavior in ifeq (...) where $(shell $(CC) --version) does not match 4.2 and

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-02 Thread Shinya Kuribayashi
Liew Tsi Chung wrote: when gcc version is 4.2. When it comes to linking, the $(shell $(CC) --version) becomes other value and select the -m5407 option with different libgcc. I reverted this $(CC)-$(CROSS_COMPILE)gcc-conversion patch and built with M54455EVB_config and CodeSourcery's

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-01 Thread Liew Tsi Chung
Shinya PLATFORM_RELFLAGS += -ffixed-d7 -msep-data -ifeq ($(findstring 4.2,$(shell $(CC) --version)),4.2) +ifeq ($(findstring 4.2,$(shell $(CROSS_COMPILE)gcc --version)),4.2) PLATFORM_CPPFLAGS += -mcpu=5208 -fPIC else PLATFORM_CPPFLAGS += -m5307 -fPIC Let me make sure the intention

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-01 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: Let me make sure the intention of this change. With or without this change, we can always evaluate $(CROSS_COMPILE)gcc --version, right? Or am I missing something? Yes, we can always evaluate $(CROSS_COMPILE)gcc --version, but not $(CC)gcc

[U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-04-30 Thread Tsi-Chung Liew
From: TsiChung Liew [EMAIL PROTECTED] Signed-off-by: Kurt Mahan [EMAIL PROTECTED] Signed-off-by: TsiChung Liew [EMAIL PROTECTED] --- cpu/mcf5227x/config.mk |2 +- cpu/mcf523x/config.mk|2 +- cpu/mcf52x2/config.mk|2 +- cpu/mcf532x/config.mk|2 +-

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-04-30 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: From: TsiChung Liew [EMAIL PROTECTED] Signed-off-by: Kurt Mahan [EMAIL PROTECTED] Signed-off-by: TsiChung Liew [EMAIL PROTECTED] --- cpu/mcf5227x/config.mk |2 +- cpu/mcf523x/config.mk|2 +- cpu/mcf52x2/config.mk|2 +-

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-04-30 Thread Shinya Kuribayashi
Tsi-Chung Liew wrote: cpu/mcf523x/config.mk|2 +- cpu/mcf52x2/config.mk|2 +- cpu/mcf532x/config.mk|2 +- cpu/mcf5445x/config.mk |2 +- cpu/mcf547x_8x/config.mk |2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cpu/mcf5227x/config.mk