This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problems while compiling SystemC on a Ubuntu 64bits
- From: "Chiraz TRABELSI" <Chiraz dot Trabelsi at inria dot fr>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 22 Oct 2009 15:41:57 +0200
- Subject: Problems while compiling SystemC on a Ubuntu 64bits
Hi,
I had a problem while installing systemc on ubuntu 64bits. When I executed
the make command, I got the following error:
make[3]: Entering directory xxxx/systemc-2.2.0/src/sysc/qt'
as -o qtmds.o qtmds.s -I. -I. -I. -I../../../src
qtmds.s: Assembler messages:
qtmds.s:69: Error: suffix or operands invalid for `push'
qtmds.s:70: Error: suffix or operands invalid for `push
....
The solution was:
1)remove the file xxxx/systemc-2.2.0/src/sysc/qt/qtmds.s
2)go under xxxx/systemc-2.2.0/src/sysc/qt and execute this command:ln -s
md/iX86_64.s qtmds.s to get the "qtmds.s" back but with the correct
version (64 bits), then execute make under the
3)execute make
4) go back to xxxx/systemc-2.2.0 and execute make
I wish it would help!