[Top][All Lists]

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

Libtool generating flags incompatible with nvcc

From: mahesh.mach
Subject: Libtool generating flags incompatible with nvcc
Date: Tue, 1 Sep 2009 16:00:14 -0700 (PDT)


My friend and I are working on porting an existing library to NVIDIA CUDA.
The library has a GNU Build System defined for its compilation and
installation. We have suitably edited the and files
to compile with nvcc instead of gcc. Our aim is to generate a shared
library.We call

$ aclocal
$ autoconf
$ automake
$ ./configure
$ make

But during the make step, flags such as -Wl,-soname ; --whole-archive and
--no-whole-archive are passed to the linker which is nvcc again, and these
flags are not recognized by it and generation of the shared library fails.
On further inspection, we found that these flags are passed from
which is autogenerated by config.status which in turn depends on

Is there any MACRO which we can use to get rid of these flags?

View this message in context:
Sent from the Gnu - Autoconf - General mailing list archive at

reply via email to

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