when I build my mips program using gcc with -O0 , it is ok, while using -o2, there come the following questions. lingking,,, relocation truncated to fit: R_MIPS_GPREL16 __global_ctor_start relocation truncated to fit: R_MIPS_GPREL16 __global_ctor_end relocation truncated to fit: R_MIPS_GPREL16 _recycle_start and so on. Has anybody encounter such questions? -----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: 2003å8æ15æ 23:08 To: ÃÃÂÃ Cc: Wilson Chan; linux-mips@linux-mips.org Subject: Re: gdbserver and gdb debugging stub for mips In message <MGEELAPMEFMLFBMDBLKLIEKICEAA.zhufeng@koretide.com.cn> you wrote: > what do you mean by "MIPS is NOT MIPS"? Does it mean there are too many mips boards? big endian, little endian, 32 bit, 64 bit, ... It means that there are several different configurations, and you must use tools to match your configuration. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de Newer disks don't have a rectangular layout anymore, but Unix (and SunOS) still assumes this. - Peter Koch in <koch.779356598@rhein>