Re: [uClinux-dev] Compiler library "libgcc.a" for uClinux

2008-12-08 Thread Lin KJ
Clinux development list 寄件日期: 2008/12/8(星期一) 下午4:43:04 主 旨: Re: [uClinux-dev] Compiler library "libgcc.a" for uClinux Thanks very much for your sharing. It's really good for me. A question, please see below: 2008/12/8 Lin KJ <[EMAIL PROTECTED]> Hi all, According to my

Re: [uClinux-dev] Compiler library "libgcc.a" for uClinux

2008-12-08 Thread Arthur Wong
failed. > > Above conclusions is based on my recent experience on ARM uClinux world. > If i misunderstand something, please correct me. > > Best Regards, > KJ > > -- > *寄件者:* Arthur Wong <[EMAIL PROTECTED]> > *收件者:* uClinux development lis

Re: [uClinux-dev] Compiler library "libgcc.a" for uClinux

2008-12-08 Thread Jamie Lokier
Lin KJ wrote: > - The compiler version newer than gcc-4.x can NOT be used for XIP uClinux > because of the >"R_ARM_GOTOFF32" relocation type. It will produce the "R_ARM_GOTOFF32" > relocation which will be resolved by adding a negative offset from the > GOT. However, >

Re: [uClinux-dev] Compiler library "libgcc.a" for uClinux

2008-12-08 Thread Lin KJ
m failed. Above conclusions is based on my recent experience on ARM uClinux world. If i misunderstand something, please correct me. Best Regards, KJ 寄件者: Arthur Wong <[EMAIL PROTECTED]> 收件者: uClinux development list 寄件日期: 2008/12/5(星期五) 上午10:50:09 主

Re: [uClinux-dev] Compiler library "libgcc.a" for uClinux

2008-12-04 Thread Greg Ungerer
ages for R_ARM_PC24 and R_ARM_PLT32. If i want to run the non-XIP uClinux, should i change the wrapper linker code? If yes, i should modify it to ["yes" = "no"] mode? or else mode? I dunno, I wouldn't have expected that you needed to do any more. Regards Greg - 原始信件

Re: [uClinux-dev] Compiler library "libgcc.a" for uClinux

2008-12-04 Thread Arthur Wong
lt" > fi > > The wrapper linker always passes the "-a" option to the elf2flt and cause > the bad resolved relocation messages for R_ARM_PC24 and R_ARM_PLT32. > If i want to run the non-XIP uClinux, should i change the wrapper linker > code? > If yes,

Re: [uClinux-dev] Compiler library "libgcc.a" for uClinux

2008-12-04 Thread Lin KJ
e wrapper linker always passes the "-a" option to the elf2flt and cause the bad resolved relocation messages for R_ARM_PC24 and R_ARM_PLT32. If i want to run the non-XIP uClinux, should i change the wrapper linker code? If yes, i should modify it to ["yes" = "no"] mode? or

Re: [uClinux-dev] Compiler library "libgcc.a" for uClinux

2008-12-04 Thread Greg Ungerer
L PROTECTED]> 收件者: uClinux development list 寄件日期: 2008/12/4(星期四) 上午7:47:03 主 旨: Re: [uClinux-dev] Compiler library "libgcc.a" for uClinux Hi KJ, Lin KJ wrote: I wonder whether the "arm-linux-" toolchains recommend by the uClinux website can be used for ARM uClinux world

Re: [uClinux-dev] Compiler library "libgcc.a" for uClinux

2008-12-04 Thread Greg Ungerer
Hi Jamie, Jamie Lokier wrote: Gavin Lambert wrote: dist/vendors/config/armnommu/config.arch" file? Usually in your board-specific config.arch file (not the generic armnommu one -- the one that you selected in the toplevel Makefile) there are three lines like this: # DISABLE_XIP := 1

Re: [uClinux-dev] Compiler library "libgcc.a" for uClinux

2008-12-04 Thread Jamie Lokier
Gavin Lambert wrote: > > dist/vendors/config/armnommu/config.arch" file? > > Usually in your board-specific config.arch file (not the generic armnommu one > -- the one that you selected in the toplevel Makefile) there are three lines > like this: > > # DISABLE_XIP := 1 # XIP works f

RE: [uClinux-dev] Compiler library "libgcc.a" for uClinux

2008-12-03 Thread Gavin Lambert
Quoth Lin KJ: > You mentioned that the uClinux binaries do not necessarily have to be > XIP and can be run on non-XIP mode. > How do i switch to run non-XIP uClinux? > Bypass the "-fpic -msingle-pic-base" CFLAGS and use some > specific elf2flt options? > If uClinux could be non-XIP, why the "-fpic

Re: [uClinux-dev] Compiler library "libgcc.a" for uClinux

2008-12-03 Thread Lin KJ
Regards, KJ - 原始信件 寄件者: Greg Ungerer <[EMAIL PROTECTED]> 收件者: uClinux development list 寄件日期: 2008/12/4(星期四) 上午7:47:03 主 旨: Re: [uClinux-dev] Compiler library "libgcc.a" for uClinux Hi KJ, Lin KJ wrote: > I wonder whether the "arm-linux-" toolchains recommend b

Re: [uClinux-dev] Compiler library "libgcc.a" for uClinux

2008-12-03 Thread Greg Ungerer
Hi KJ, Lin KJ wrote: I wonder whether the "arm-linux-" toolchains recommend by the uClinux website can be used for ARM uClinux world. They can, I use them to create running systems. (I always test the GDB/ARMultaor uClinux target with those arm-linux toolchains). The compiler library "libg