KMLM List
View email archives for the history of this mailing list.
|
|
|
|
systemc-forum - Re: [Systemc-forum] Linking problem in Linux....
|
Message Thread:
Previous |
Next
|
- To: aditya@xxxxxxxxxxxxxx
- From: Matthieu MOY <Matthieu.Moy@xxxxxxx>
- Date: Tue, 3 Feb 2004 09:59:23 +0100
- Cc: Saurabh Kulkarni <saurabh.kulkarni@xxxxxxxxxxxxxxxx>, systemc-forum@xxxxxxxxxxx
- Send Email to systemc-forum@osci.kavi.com:
- Send new message
- Reply to this message
|
Quoting Aditya Kher <aditya@xxxxxxxxxxxxxx>:
> As recomended, System C works only on
> Linux (Redhat 7.2) with GNU C++ compiler version gcc-2.95.3.
> gcc version you are using is not supported. Further glibc 2.3 (comes with RH
I'm using SystemC 2.0.1 with GCC 3.2.2 every day, and it works fine. Just some
more warnings, but that's all.
> > The commands I use to compile and link are:
> > g++ -I$SYSTEMC_DIR/include -Wno-deprecated -c main.cpp
> >
> > g++ -LSYSTEMC_LIB -lsystemc -lnumeric_bit -o main main.o
Do you mean
g++ -L${SYSTEMC_LIB} -lsystemc -lnumeric_bit -o main main.o
?
Maybe you have to recompile systemc with the right version of GCC. libraries
compiled with a given version of gcc won't work with another version (gcc 3.2
should be binary-compatible with more recent version, though)
> > The environment is Red Hat Linux 9.0, SystemC 1.0.1, gcc 3.2.3
1.0.1 or 2.0.1 ??
--
Matthieu
-------------------------------------------------
envoyé via Webmail/IMAG !
|
|