Jump to content

SYSTEMC install 32bit on 64bit OS


matterser

Recommended Posts

Hi,

 

I want install systemc 32bit on my 64bit host.

 

I follow the website comment.

 cd $SYSTEMC_HOME/objdir
  ../configure --target=i686-linux-gnu

  # QuickThreads:
  make CPPFLAGS="-m32" AS="as --32"

  # Pthreads:
  make CPPFLAGS="-m32" QT_ARCH="pthreads" pthreads

  make install

But when I make CPPFLAGS="-m32" AS="as --32",

I have a problem, as following

make[3]: *** [libsystemc.la] Error 1
make[3]: Leaving directory `/root/systemc-2.3.1/src/sysc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/systemc-2.3.1/src/sysc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/systemc-2.3.1/src'
make: *** [all-recursive] Error 1

How can I solve the problem?

 

Thank a lot.

Link to post
Share on other sites

Hi,

 

When I install 32bit systemc on 64bit OS,

# mkdir objdir
# cd objdir
# ../configure --prefix=/usr/local/systemc-2.3.1  --host=i686-linux-gnu
# make
# make install

And I have error:

/usr/local/systemc-2.3.1/lib-linux/libsystemc.a: could not read symbols: File in wrong format

Is that the enviroment problem?

 

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...