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

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

[Octave-bug-tracker] [bug #44998] [MXE] On Windows side, 64-bit OF modul


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #44998] [MXE] On Windows side, 64-bit OF modules can be miscompiled
Date: Wed, 27 May 2015 16:46:43 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #39, bug #44998 (project octave):

Perhaps a clue, if I create a c++ source file testc.cpp:


#include <iostream>
#include <string>

int main()
{
        std::string s = "hello";

        return 0;
}


And in octave:
mkoctfile testc.cpp --link-stand-alone -v -o testc
And then:
exec('testc')

It crashes.

I have a bat file for opening a terminal  window in the octave environment:

set OCTAVE_HOME=c:\octave\octave-4.0.0-rc4
set PATH=%OCTAVE_HOME%\bin;%PATH%
%OCTAVE_HOME%\bin\bash.exe


If I run that, and then run the program I created in octave from within bash,
it does NOT crash.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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