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

 
 

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

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

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project Administrator
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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

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

    Back to the top


    Powered by Savane 3.3