Re: configure: how to skip a test?

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

 



On Mon, 10 May 2004, Andreas Schallenberg wrote:

> Hi!
>
> I'd like to use the autoconf/automake/configure tools
> for a project which uses SystemC.  (http://www.systemc.org/)
> SystemC is a hardware description language based on
> C++ and comes with a simulation library which has
> the symbol "main" built-in.
>
> When I run configure a test is performed to determine
> if the C++ compiler can create executables. Since the
> test includes a source with its own main() the linker
> complains having multiple definitions of it.

It seems that you will need to find some option which keeps the
simulation library from providing main, or not linking with the
library, since most Autoconf tests build test programs, so most of the
other tests will fail as well.

Bob
======================================
Bob Friesenhahn
bfriesen@xxxxxxxxxxxxxxxxxxx
http://www.simplesystems.org/users/bfriesen




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux