[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IRIX Mips Pro Compiler ii_files patch

From: Alexandre Oliva
Subject: Re: IRIX Mips Pro Compiler ii_files patch
Date: 14 Nov 2000 03:12:19 -0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

On Nov 13, 2000, Mike Caruso <address@hidden> wrote:

>        # Get the base name of this ii_file: BaseName.lo.ii
>        iiFileBase=`echo $iiFile | cut -d'.' -f1`

cut isn't portable, use sed instead.  And you can't assume there won't
be a

>        # Use a perl command to fix the names of the object files

We can't use perl either.  libtool must stick to a very small subset
of portable shell programming constructs.

Anyway, I don't think you need all of this stuff, as long as you're
willing to use the multi-language branch of libtool, that is the only
one that claims to support C++.  There's no renaming taking place any
more; PIC object files are created in .libs, and non-PIC ones in the
current directory, then the `.lo' is created as a text file assigning
values to certain variables, pretty much like libtool has long done
with `.la' files.  Please give it a try, and let us know whether you
still find any problems.

Alexandre Oliva   Enjoy Guarana', see
Red Hat GCC Developer                  address@hidden,}
CS PhD student at IC-Unicamp        address@hidden,}
Free Software Evangelist    *Please* write to mailing lists, not to me

reply via email to

[Prev in Thread] Current Thread [Next in Thread]