This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rewrite lib/g77.exp


On Nov 25, 2001, Geoff Keating <geoffk@geoffk.org> wrote:

> Libstdc++ is not built on the host.  Test programs are.

Test programs are built for the target on the build machine, just like
libgcc, libstdc++, libobjc, libjava and libf2c.

>> > I don't believe that using libtool in the testsuite is the right
>> > thing.  We don't require all user programs to use libtool, therefore
>> > we shouldn't need it to test the compiler.
>> 
>> But we do require all user programs to figure out the appropriate
>> flags to get their executables to find the shared libraries we
>> install, if the system can't find them by default.  Also, when we're
>> testing in the build tree, we don't have libraries in places they're
>> searched for by default.  At least, we shouldn't assume as much.

> Does libtool handle running programs?  I thought it was only necessary
> to build them.

In certain cases, yes, by creating wrapper scripts that set up the
environment such that the program finds libraries in the build tree,
instead of looking for them in the install tree.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]