bugGNU Octave - Bugs: bug #53921, g++ (see also issue 53920)

 
 

bug #53921: g++ (see also issue 53920)

Submitter:  Fred Hoeve <fredh>
Submitted:  Wed 16 May 2018 08:15:43 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Fred H Open/Closed:  * Closed
Release:  * 4.4.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 16 May 2018 05:45:27 PM UTC, comment #1: 

You are calling g++ incorrectly. The -c option compiles a source file into an object file, not an executable.

Mike Miller <mtmiller>
Group Member
Wed 16 May 2018 08:15:43 AM UTC, original submission:  

in the CMD box I specify the command

g++ -I c:\octave\octave-4.4.0\include\octave-4.4.0 -I c:\octave\octave-4.4.0\include\octave-4.4.0\octave -c standalone.cc -o standalone440.exe

this will create the exe.

After running standalone440.exe I got the error message:
This version of C:\Apps\octave\Hello\standalone440.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.

the standalone.cc file is given in issue  53920

before given the g++ command I run
path = c:\octave\octave-4.4.0\bin;%PATH%
set TERM="cygwin"
set GNUTERM="wxt"
set GS="gs.exe"

path = c:\octave\octave-4.4.0\qt5\bin;%PATH%
set QT_PLUGIN_PATH=c:\octave\octave-4.4.0\qt5\plugins

Fred Hoeve <fredh>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by fredh (Submitted the item)
  • -email is unavailable- added by fredh (g++ issue in cmd box)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-16 mtmiller StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2018-05-16 fredh Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code