Hallo!
Bin Anfänger in C++ und wollte folgendes, äußerst einfaches Programm,
mit g++ comilieren.
#include <iostream>
using namespace std;
int main (void)
{
cout << "Hallo";
return 0;
}
Die Eingabe" g++ test.cpp " erzeugt folgende Fehlermeldungen:
/tmp/ccq55X2Z.s: Assembler messages:
/tmp/ccq55X2Z.s:10: Error: suffix or operands invalid for `push'
/tmp/ccq55X2Z.s:38: Error: suffix or operands invalid for `push'
/tmp/ccq55X2Z.s:55: Error: suffix or operands invalid for `push'
/tmp/ccq55X2Z.s:79: Error: suffix or operands invalid for `push'
/tmp/ccq55X2Z.s:81: Error: suffix or operands invalid for `push'
/tmp/ccq55X2Z.s:85: Error: suffix or operands invalid for `push'
/tmp/ccq55X2Z.s:94: Error: suffix or operands invalid for `pop'
/tmp/ccq55X2Z.s:95: Error: suffix or operands invalid for `pop'
Habe schon relativ viel Zeit damit verbracht, komme aber einfach auf
keine Lösung.
Wahrscheinlich ist die Sache ganz einfach.
Wäre echt nett wenn ihr mir helfen könntet!
Danke auf jeden Fall schon mal für die Mühe
Cristobal
Bin Anfänger in C++ und wollte folgendes, äußerst einfaches Programm,
mit g++ comilieren.
#include <iostream>
using namespace std;
int main (void)
{
cout << "Hallo";
return 0;
}
Die Eingabe" g++ test.cpp " erzeugt folgende Fehlermeldungen:
/tmp/ccq55X2Z.s: Assembler messages:
/tmp/ccq55X2Z.s:10: Error: suffix or operands invalid for `push'
/tmp/ccq55X2Z.s:38: Error: suffix or operands invalid for `push'
/tmp/ccq55X2Z.s:55: Error: suffix or operands invalid for `push'
/tmp/ccq55X2Z.s:79: Error: suffix or operands invalid for `push'
/tmp/ccq55X2Z.s:81: Error: suffix or operands invalid for `push'
/tmp/ccq55X2Z.s:85: Error: suffix or operands invalid for `push'
/tmp/ccq55X2Z.s:94: Error: suffix or operands invalid for `pop'
/tmp/ccq55X2Z.s:95: Error: suffix or operands invalid for `pop'
Habe schon relativ viel Zeit damit verbracht, komme aber einfach auf
keine Lösung.
Wahrscheinlich ist die Sache ganz einfach.
Wäre echt nett wenn ihr mir helfen könntet!
Danke auf jeden Fall schon mal für die Mühe
Cristobal