public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* How is EQ in mklibgcc used?
@ 2004-09-09 19:21 H. J. Lu
  2004-09-09 19:34 ` Daniel Jacobowitz
  0 siblings, 1 reply; 9+ messages in thread
From: H. J. Lu @ 2004-09-09 19:21 UTC (permalink / raw)
  To: gcc

There are

[hjl@gnu gcc]$ grep EQ mklibgcc.in
echo 'EQ = ='
    dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
    dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
    dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
    dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
      dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
      dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
      dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
    dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
    dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
    dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
      dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
    dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
  dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
  dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
  dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
    dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
    *'$(EQ)'*) targ="T_TARGET=$out T_TARGET" ;;
  dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
    dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`

Does anyone know how it is used?


H.J.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How is EQ in mklibgcc used?
  2004-09-09 19:21 How is EQ in mklibgcc used? H. J. Lu
@ 2004-09-09 19:34 ` Daniel Jacobowitz
  2004-09-09 20:54   ` H. J. Lu
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Jacobowitz @ 2004-09-09 19:34 UTC (permalink / raw)
  To: H. J. Lu; +Cc: gcc

On Thu, Sep 09, 2004 at 12:17:10PM -0700, H. J. Lu wrote:
> There are
> 
> [hjl@gnu gcc]$ grep EQ mklibgcc.in
> echo 'EQ = ='
>     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>       dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>       dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>       dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>       dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>   dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>   dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>   dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>     *'$(EQ)'*) targ="T_TARGET=$out T_TARGET" ;;
>   dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
>     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> 
> Does anyone know how it is used?

CVS history would clearly show you the patch it came from.  Half a
minute in the mail archives would show you:
  http://gcc.gnu.org/ml/gcc-patches/2000-05/msg00623.html

-- 
Daniel Jacobowitz

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How is EQ in mklibgcc used?
  2004-09-09 19:34 ` Daniel Jacobowitz
@ 2004-09-09 20:54   ` H. J. Lu
  2004-09-09 21:13     ` Alexandre Oliva
  0 siblings, 1 reply; 9+ messages in thread
From: H. J. Lu @ 2004-09-09 20:54 UTC (permalink / raw)
  To: gcc; +Cc: aoliva

On Thu, Sep 09, 2004 at 03:21:10PM -0400, Daniel Jacobowitz wrote:
> On Thu, Sep 09, 2004 at 12:17:10PM -0700, H. J. Lu wrote:
> > There are
> > 
> > [hjl@gnu gcc]$ grep EQ mklibgcc.in
> > echo 'EQ = ='
> >     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >       dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >       dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >       dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >       dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >   dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >   dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >   dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >     *'$(EQ)'*) targ="T_TARGET=$out T_TARGET" ;;
> >   dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> >     dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
> > 
> > Does anyone know how it is used?
> 
> CVS history would clearly show you the patch it came from.  Half a
> minute in the mail archives would show you:
>   http://gcc.gnu.org/ml/gcc-patches/2000-05/msg00623.html
> 

Thanks.

Alexandre, mklibgcc.in has been changed since then. Do we still need
it for IRIX?


H.J.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How is EQ in mklibgcc used?
  2004-09-09 20:54   ` H. J. Lu
@ 2004-09-09 21:13     ` Alexandre Oliva
  2004-09-09 21:20       ` H. J. Lu
  2004-09-12  0:26       ` Phil Edwards
  0 siblings, 2 replies; 9+ messages in thread
From: Alexandre Oliva @ 2004-09-09 21:13 UTC (permalink / raw)
  To: H. J. Lu; +Cc: gcc

On Sep  9, 2004, "H. J. Lu" <hjl@lucon.org> wrote:

> On Thu, Sep 09, 2004 at 03:21:10PM -0400, Daniel Jacobowitz wrote:

>> CVS history would clearly show you the patch it came from.  Half a
>> minute in the mail archives would show you:
>> http://gcc.gnu.org/ml/gcc-patches/2000-05/msg00623.html

> Thanks.

> Alexandre, mklibgcc.in has been changed since then. Do we still need
> it for IRIX?

Did you actually read the e-mail mentioned above?

Nothing changed in the name of the multilib directories on Irix
AFAIK.  This has absolutely nothing to do with the way mklibgcc is
designed.  It's about the presence of `=´ in filenames, that makes
don't interpret the way we'd like them to.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How is EQ in mklibgcc used?
  2004-09-09 21:13     ` Alexandre Oliva
@ 2004-09-09 21:20       ` H. J. Lu
  2004-09-11  8:40         ` Alexandre Oliva
  2004-09-12  0:26       ` Phil Edwards
  1 sibling, 1 reply; 9+ messages in thread
From: H. J. Lu @ 2004-09-09 21:20 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: gcc

On Thu, Sep 09, 2004 at 06:00:31PM -0300, Alexandre Oliva wrote:
> On Sep  9, 2004, "H. J. Lu" <hjl@lucon.org> wrote:
> 
> > On Thu, Sep 09, 2004 at 03:21:10PM -0400, Daniel Jacobowitz wrote:
> 
> >> CVS history would clearly show you the patch it came from.  Half a
> >> minute in the mail archives would show you:
> >> http://gcc.gnu.org/ml/gcc-patches/2000-05/msg00623.html
> 
> > Thanks.
> 
> > Alexandre, mklibgcc.in has been changed since then. Do we still need
> > it for IRIX?
> 
> Did you actually read the e-mail mentioned above?
> 

I thought I did. But I am not sure now.

> Nothing changed in the name of the multilib directories on Irix
> AFAIK.  This has absolutely nothing to do with the way mklibgcc is
> designed.  It's about the presence of `=?? in filenames, that makes
> don't interpret the way we'd like them to.
> 

The current mklibgcc.in generates

stmp-dirs: force
        for d in libgcc 32 libgcc/32; do \
          if [ -d $$d ]; then true; else /bin/sh /net/gnu/export/gnu/src/gcc-3.4/gcc/gcc/mkinstalldirs $$d; fi; \
	done
	...

mabi=64/libgcc is no longer a make target. Can you tell me why this
scheme won't work for IRIX? 


H.J.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How is EQ in mklibgcc used?
  2004-09-09 21:20       ` H. J. Lu
@ 2004-09-11  8:40         ` Alexandre Oliva
  2004-09-11 17:14           ` Daniel Jacobowitz
  2004-09-11 17:53           ` H. J. Lu
  0 siblings, 2 replies; 9+ messages in thread
From: Alexandre Oliva @ 2004-09-11  8:40 UTC (permalink / raw)
  To: H. J. Lu; +Cc: gcc

On Sep  9, 2004, "H. J. Lu" <hjl@lucon.org> wrote:

> The current mklibgcc.in generates

> stmp-dirs: force
>         for d in libgcc 32 libgcc/32; do \

I don't see how this can be right for irix6, that supports 3 different
ABIs and defaults to n32.  Are we talking about the same irix?

I don't see any setting of MULTILIB_DIRNAMES in t-iris6 or any other
t-* file in gcc/config/mips used for Irix that could generate what you
get.  Do you perhaps have any local patches in your tree that change
the set of multilibs and their dir names?

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How is EQ in mklibgcc used?
  2004-09-11  8:40         ` Alexandre Oliva
@ 2004-09-11 17:14           ` Daniel Jacobowitz
  2004-09-11 17:53           ` H. J. Lu
  1 sibling, 0 replies; 9+ messages in thread
From: Daniel Jacobowitz @ 2004-09-11 17:14 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: H. J. Lu, gcc

On Sat, Sep 11, 2004 at 02:58:06AM -0300, Alexandre Oliva wrote:
> On Sep  9, 2004, "H. J. Lu" <hjl@lucon.org> wrote:
> 
> > The current mklibgcc.in generates
> 
> > stmp-dirs: force
> >         for d in libgcc 32 libgcc/32; do \
> 
> I don't see how this can be right for irix6, that supports 3 different
> ABIs and defaults to n32.  Are we talking about the same irix?
> 
> I don't see any setting of MULTILIB_DIRNAMES in t-iris6 or any other
> t-* file in gcc/config/mips used for Irix that could generate what you
> get.  Do you perhaps have any local patches in your tree that change
> the set of multilibs and their dir names?

I assume that HJ's quote was for a different target... the point being
that the dir name no longer appears on the left of the colon.  But
won't it for some of the intermediate objects?

-- 
Daniel Jacobowitz

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How is EQ in mklibgcc used?
  2004-09-11  8:40         ` Alexandre Oliva
  2004-09-11 17:14           ` Daniel Jacobowitz
@ 2004-09-11 17:53           ` H. J. Lu
  1 sibling, 0 replies; 9+ messages in thread
From: H. J. Lu @ 2004-09-11 17:53 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: gcc

On Sat, Sep 11, 2004 at 02:58:06AM -0300, Alexandre Oliva wrote:
> On Sep  9, 2004, "H. J. Lu" <hjl@lucon.org> wrote:
> 
> > The current mklibgcc.in generates
> 
> > stmp-dirs: force
> >         for d in libgcc 32 libgcc/32; do \
> 
> I don't see how this can be right for irix6, that supports 3 different
> ABIs and defaults to n32.  Are we talking about the same irix?

The example is for Linux/x86-64. I believe IRIX should be very similar,
that is rules for libgcc directories are changed. The problem EQ tried
to work around no longer exists.


H.J.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How is EQ in mklibgcc used?
  2004-09-09 21:13     ` Alexandre Oliva
  2004-09-09 21:20       ` H. J. Lu
@ 2004-09-12  0:26       ` Phil Edwards
  1 sibling, 0 replies; 9+ messages in thread
From: Phil Edwards @ 2004-09-12  0:26 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: H. J. Lu, gcc

On Thu, Sep 09, 2004 at 06:00:31PM -0300, Alexandre Oliva wrote:
> Nothing changed in the name of the multilib directories on Irix
> AFAIK.  This has absolutely nothing to do with the way mklibgcc is
> designed.  It's about the presence of `=?? in filenames, that makes
> don't interpret the way we'd like them to.

I thought I'd nailed the most common interpretation with the eventual
outcome of http://gcc.gnu.org/ml/gcc-patches/2004-03/msg00104.html .
What others did I miss?  If we just rewrite them as well, we could throw
out EQ altogether, maybe.

-- 
"This release is mostly intended to mop up the minor and trivial bug fixes
in the list and clear out the documentation changes.  As such, it should be
treated with even more suspicion than is normal."
    - dpkg 1.10.22 release note

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-09-11 23:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-09 19:21 How is EQ in mklibgcc used? H. J. Lu
2004-09-09 19:34 ` Daniel Jacobowitz
2004-09-09 20:54   ` H. J. Lu
2004-09-09 21:13     ` Alexandre Oliva
2004-09-09 21:20       ` H. J. Lu
2004-09-11  8:40         ` Alexandre Oliva
2004-09-11 17:14           ` Daniel Jacobowitz
2004-09-11 17:53           ` H. J. Lu
2004-09-12  0:26       ` Phil Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).