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 comment
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 comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...