Re: test for CXXLD

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

 



Thanks for the reply. I ended up using

AM_LDFLAGS = -Xcompiler "-language charm++"

For some reason CXXLDFLAGS was not added to the linker command in Makefile.

Thanks again,

nick



On Thu, Jun 6, 2013 at 4:40 PM, Gavin Smith <gavinsmith0123@xxxxxxxxx>wrote:

> On Thu, Jun 6, 2013 at 8:08 PM, Nicolas Bock <nicolasbock@xxxxxxxxx>
> wrote:
> > Hi,
> >
> > The C++ compiler I am using (charmc) needs an additional command line
> > argument during the linker stage (-language charm++). I am unsure how to
> > best add this argument. The generated makefiles use CXX for compilation
> and
> > CXXLD for linking, both of which are set to "charmc". How would I change
> > CXXLD to add a flag? Or is there a cleaner way to accomplish this?
> >
> One way would be to pass in the flags on the command line when you
> invoke make, e.g. "make CXXLDFLAGS='-language charm++'". Ideally
> autoconf would set CXXLD correctly for you but it looks like it this
> hasn't been implemented for this compiler.
>
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf




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

  Powered by Linux