octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #56505] setting CXX should affect mkoctfile li


From: Rik
Subject: [Octave-bug-tracker] [bug #56505] setting CXX should affect mkoctfile link stage as well
Date: Sat, 14 Sep 2019 20:43:49 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #4, bug #56505 (project octave):

@Mike: Attached is a patch that attempts to implement just one variable,
CXXLD, when referring to the linker.

It works for me, but someone else needs to review it since this tweaks a lot
of musty parts of the build system that haven't seen a change in years.

There are two things I am uncertain about.  First, if CXXLD is not set in the
environment during the build then MKOCTFILE_CXXLD is initialized to "". 
Perhaps we should do the same thing as in mkoctfile.in.cc and set CXXLD to CXX
if it is not defined.

The second thing is that for BSD and Solaris systems configure.ac unilaterally
sets CXXLD to "ld".  I don't like overriding a user's given choice.

(file #47510)
    _______________________________________________________

Additional Item Attachment:

File name: bug56505.cset                  Size:25 KB
    <https://savannah.gnu.org/file/bug56505.cset?file_id=47510>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56505>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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