On Wed, Sep 2, 2009 at 10:51 AM, Ralf Wildenhues
<address@hidden> wrote:
* mahesh.mach wrote on Wed, Sep 02, 2009 at 07:16:06AM CEST:
> > The 'libtool' script stores these flags, right. You can edit it to
> > temporarily override flags. However, then they will be lost the next
> > time config.status is run. The flags are set in the configure script.
> > That in turn is generated from the macros in the libtool.m4 file (and a
> > few other ones) that need to be edited in order to fix things.
>
> We tried editing manually, but considering that during further development,
> our source tree would change considerably and we would need to rerun
> configure scripts and hence we concluded that a permanent solution would be
> the right thing to do.
Please describe (or post as diffs) all such editing you've done to the
libtool script, on the bug-libtool list. It can provide valuable clues
what to add to libtool.m4.
Thanks for the other information.
Cheers,
Ralf
We would like to generate a command for linking like below:
nvcc --shared -o libname_of_shared_library.so sourcefiles -I<include headers> -L<library paths> -l<library1> -l<library2>
Also, in our projects, we will be having source files with extensions ".cu" indicating CUDA source files. We want to be able to detect those files in the file system and compile them with nvcc and link using nvcc. Do we have to make any specific changes in order to support that? Or would just listing them in the Makefile.am take care of that?