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

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

[Octave-bug-tracker] [bug #40321] MXE / MinGW - mkoctfile fails (& doesn


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #40321] MXE / MinGW - mkoctfile fails (& doesn't pick up compile flags)
Date: Sun, 20 Oct 2013 23:00:15 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

URL:
  <http://savannah.gnu.org/bugs/?40321>

                 Summary: MXE / MinGW - mkoctfile fails (& doesn't pick up
compile flags)
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Mon 21 Oct 2013 01:00:14 AM CEST
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Philip Nienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Since a few days mkoctfile doesn't work anymore in my MXE/MinGW builds
cross-compiled from Linux.
I confirmed this with an MXE tip & Octave tip both cloned this morning (Oct
20), to eliminate interference of stale build parts lying around (as was the
case with bug #40301).

mkoctfile still worked with MXE-cross-built Octave based on sources of October
16 (I can't check the hg id anymore as I've updated & even wiped + refreshed
my local repo before I noted this issue, and AFAIK in Octave builds there's no
trace of the hg id it is based on).

What I see is this:

>> mkoctfile cell2csv.cc
mkoctfile: no way to compile C++ file cell2csv.cc
warning: mkoctfile exited with failure status
>>

I could track it down to mkoctfile not picking up the CXX flag:

>> mkoctfile -p CXX

>>


Setting this flag in the environment before starting up Octave with "set
CXX=g++" (easily done in a batch file) I get:

>> mkoctfile -p CXX
g++
>> mkoctfile cell2csv.cc
'-shared' is not recognized as an internal or external command,
operable program or batch file.
warning: mkoctfile exited with failure status
>>


..so mkoctfile apparently lacks more flags.

Looking in the on-line repo I recognize no changesets that could explain
this.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40321>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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