[Top][All Lists]

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

Re: Libtool generating flags incompatible with nvcc

From: Mahesh N
Subject: Re: Libtool generating flags incompatible with nvcc
Date: Sat, 12 Sep 2009 12:58:29 +0530

Hello Ralf,

Thanks for the patch.

On Sat, Sep 12, 2009 at 12:47 PM, Ralf Wildenhues <address@hidden> wrote:
Hello Mahesh,

* Mahesh N wrote on Fri, Sep 04, 2009 at 08:19:55AM CEST:
> As we have discussed earlier about generating appropriate flags for nvcc
> during the linking stage, patching libtool script files, etc - I read in
> nvidia forums that gcc or g++ can be used during the linking stage. Is there
> any Macro which I can set in configure.ac in order to direct the Makefiles
> and libtool to use a particular linker - gcc here instead of nvcc?

Can you try the patch below (against current git Libtool or a nightly
snapshot)?  OK to add your address to THANKS (and can we get a full name)?

OK :) and my full name is Mahesh Narayanamurthi
Others, any issues with this patch?

I will check it out with the nightly version and let you know if there are any other issues with the patch. 
> (i.e.) just as in AC_PROG_CC, I can list the preferences for compilers to
> use eg: AC_PROG_CC([gcc mingw nvcc]) can I specify linker options somewhere?
> If such a support is added to Autotools it would be great as I have seen two
> other threads where people are facing similar issues.

BTW, you might need to pass --enable-dependency-tracking to configure if
you want it to work with nvcc.

Ok. Sure. Thanks. I will keep that in mind. 

Thanks Again. :-)


ASCEND Project

reply via email to

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