[Top][All Lists]

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

Library name is substitute in the execute mode.

From: Nicolas Pierron
Subject: Library name is substitute in the execute mode.
Date: Wed, 23 Jul 2008 16:13:58 +0200


I am currently writing a stage compilation for a compiler.  This
compiler use libtool to generate libraries and therefore expect to
have file with the extension ".la" on the command line.  To test this
compiler we use "libtool --mode=execute" to choose the dynamic
libraries corresponding to the compiler stage.

The problem is that we have to test if the compiler can correctly
generate libraries.  This leads us to the following command line

libtool --mode=execute ... compiler file.la

where "file.la", which should be generated by the compiler via
libtool, is substitute by something else.  Therefore it is not
possible to test this part of the compiler.


Nicolas Pierron
- If you are doing something twice then you should try to do it once.

reply via email to

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