[RFC]possible improvements to --with-sysroot

2007-03-03 Thread Zhang Le
s are welcomed. Thanks! -- Zhang Le, Robert http://zhllg.blogspot.com http://zh.gentoo-wiki.com http://savannah.nongnu.org/projects/pgubook http://groups.google.com/group/gentoo-china http://groups.google.com/group/szlug

Re: [RFC]possible improvements to --with-sysroot

2007-03-05 Thread Zhang Le
First of all, my apology. It seems that I should have posted this email to binutils's ML. On 3/5/07, Daniel Jacobowitz <[EMAIL PROTECTED]> wrote: On Sat, Mar 03, 2007 at 09:47:41PM +0800, Zhang Le wrote: > Wouldn't it be great that we go one step further that we let ld look

Re: [RFC]possible improvements to --with-sysroot

2007-03-05 Thread Zhang Le
On 3/6/07, Daniel Jacobowitz <[EMAIL PROTECTED]> wrote: On Tue, Mar 06, 2007 at 02:05:06AM +0800, Zhang Le wrote: > I have used "strace -f" to check where linker looked for -lqt-mt. From > what I have observed, it seems that ld didn't use > $SYSROOT/etc/ld.so.conf.

Re: [RFC]possible improvements to --with-sysroot

2007-03-07 Thread Zhang Le
On 3/6/07, Daniel Jacobowitz <[EMAIL PROTECTED]> wrote: On Tue, Mar 06, 2007 at 02:05:06AM +0800, Zhang Le wrote: > I have used "strace -f" to check where linker looked for -lqt-mt. From > what I have observed, it seems that ld didn't use > $SYSROOT/etc/ld.so.conf.

Re: cpp found limits.h in FIXED_INCLUDE_DIR, but not in STANDARD_INCLUDE_DIR

2008-10-07 Thread Zhang Le
solution is easy, just turn on 'vanilla' USE flag in Gentoo. Sorry for the noise. Zhang Le

install path in libgcc Makefile.in

2008-10-10 Thread Zhang Le
version is get like this: version := $(shell cat $(srcdir)/../gcc/BASE-VER) So what about we do the same in libgcc/Makefile.in? Because this can ensure that the install dir will be new gcc's path. If this is ok, I will post a little patch. Zhang Le

Re: install path in libgcc Makefile.in

2008-10-11 Thread Zhang Le
On 00:06 Sat 11 Oct , Daniel Jacobowitz wrote: > > If this is ok, I will post a little patch. > > That sounds fine, but the whole process is trouble. Would you explain why it is trouble? Thanks! The patch is included. Zhang Le diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog i

Re: install path in libgcc Makefile.in

2008-10-12 Thread Zhang Le
et in step to run case 3. I will send the patch to gcc-patches after testing. Zhang Le

Re: install path in libgcc Makefile.in

2008-10-13 Thread Zhang Le
On 04:19 Mon 13 Oct , Eus wrote: > Hi Ho! > > On Saturday, October 11, 2008, "Zhang Le" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > Another problem when cross building the native mips compiler. > > I.e. build=x86, host=target=mipse

A happy problem caused by loongson2f's div.g instruction

2008-11-09 Thread Zhang Le
e sure the destination register is different from source registers. I have read some docs, but still not sure how to do it. http://gcc.gnu.org/onlinedocs/gccint/Modifiers.html#Modifiers If there is anything wrong, do tell me. Also if you have any suggestions, I am all ears. Thanks in advance! Zhang, Le

Re: A happy problem caused by loongson2f's div.g instruction

2008-11-10 Thread Zhang Le
On 18:31 Sun 09 Nov , Andrew Haley wrote: > Zhang Le wrote: > > > > > The other would be make sure the destination register is different from > > source registers. > > I have read some docs, but still not sure how to do it. > > That's just an e

Re: A happy problem caused by loongson2f's div.g instruction

2008-11-10 Thread Zhang Le
On 19:18 Mon 10 Nov , Zhang Le wrote: > However, now I think adding a earlyclobber constraint may be the way to go. > Since it is a less intrusive and more elegant (comparing with my patch above) > change. This solution is as easy as adding two bytes (two &s's) to

Re: A happy problem caused by loongson2f's div.g instruction

2008-11-10 Thread Zhang Le
+ output_asm_insn (s, operands); + s = "teq\t%2,%.,7"; + } } else { I have tried it. It seems to be working. However, now I think adding a earlyclobber constraint may be the way to go. Since it is a less intrusive and more elegant (comparing with my patch above) change. Zhang, Le

MIPS -mplt option in N32 abi system

2008-12-01 Thread Zhang Le
, DRIVER_SELF_SPECS in linux64.h has no LINUX_DRIVER_SELF_SPECS. Is it left out intentionally? However it seems to me that -mplt works on N32 system. So what about the patch attached? ok to apply? Zhang, Le --- gcc/config/mips/linux64.h.orig 2008-12-01 13:55:43.0 + +++ gcc/config/mips

Re: MIPS -mplt option in N32 abi system

2008-12-01 Thread Zhang Le
On 10:33 Mon 01 Dec , David Daney wrote: > Zhang Le wrote: >> BASE_DRIVER_SELF_SPECS \ >> +LINUX_DRIVER_SELF_SPECS \ >> " %{!EB:%{!EL:%(endian_spec)}}" \ >> " %{!mabi=*: -mabi=n32}" > > You are missing a comma there between BASE_DRIVER_

Re: MIPS -mplt option in N32 abi system

2008-12-01 Thread Zhang Le
On 11:02 Mon 01 Dec , David Daney wrote: > Zhang Le wrote: >> On 10:33 Mon 01 Dec , David Daney wrote: >>> Zhang Le wrote: >>>> BASE_DRIVER_SELF_SPECS \ >>>> +LINUX_DRIVER_SELF_SPECS \ >>>> " %{!EB:%{!EL:%(endian_spec)}}" \