Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

SystemC 2.0.1 configuration error on CentOS

Status
Not open for further replies.

Vonn

Full Member level 4
Joined
Oct 6, 2002
Messages
230
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,298
Activity points
2,458
Hi guys , I am new to linux and systemC so forgive me if it's a trivial question
but I have a problem when I tried to configure systemC V2.0.1 on CentOS

I followed the install-file instructions but when I tried to config. I got the
following message:

creating cache ./config.cache
checking host system type... Invalid configuration `x86_64-unkn own-linux-gnu':
machine `x86_64-unknown' not recognized

checking target system type... Invalid configuration `x86_64-un known-linux-gnu':
machine `x86_64-unknown' not recognized

checking build system type... Invalid configuration `x86_64-unk nown-linux-gnu':
machine `x86_64-unknown' not recognized

checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... g++
checking whether the C++ compiler (g++ ) works... yes
checking whether the C++ compiler (g++ ) is a cross-compiler.. . no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
configure: error: sorry...architecture not supported

My gcc version is 3.4.5

Plz advice

Thanx
 

systemc install

Maybe you can specify an architecture when (if) you run ./configure Try to run "./configure --help" and look for architecture spesific options.
 

systemc configure

Thanks Nevr0 , I tried what you said but the only architecture option I have found is related to Directory and file names ... here is what I got

../configure --help
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
--cache-file=FILE cache test results in FILE
--help print this message
--no-create do not create output files
--quiet, --silent do not print `checking...' messages
--version print the version of autoconf that created configure
Directory and file names:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[same as prefix]
--bindir=DIR user executables in DIR [EPREFIX/bin]
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
--libexecdir=DIR program executables in DIR [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data in DIR
[PREFIX/share]
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data in DIR
[PREFIX/com]
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
--includedir=DIR C header files in DIR [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
--infodir=DIR info documentation in DIR [PREFIX/info]
--mandir=DIR man documentation in DIR [PREFIX/man]
--srcdir=DIR find the sources in DIR [configure dir or ..]
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM
run sed PROGRAM on installed program names
Host type:
--build=BUILD configure for building on BUILD [BUILD=HOST]
--host=HOST configure for HOST [guessed]
--target=TARGET configure for TARGET [TARGET=HOST]
Features and packages:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR

can any body give me a hand .. thanx
 

install systemc linux

Hi,

I am suggesting an alternative. But don't know whether it works. If it makes some wrong installation, nothing a big deal. Your systemC installation will be with some errors. Just uninstall as said in the INSTALL file.

The script works like this.
At a particular point it says 'uname -m'. if it is a 32 bit machine the output will be i686, if its a 64 bit machine it would be x86_64. The error is because of this x86_64.

Try doing "alias i686 'x86_64' " and then continue installation. It might work.

While installing your linux, did you used 32 bit Linux or you installed with 64 bit Linux ?

I'l try to find if there is any other possiblity to install systemc in 64bit machine.
 

systemc 64bit

This should work:

Code:
./configure --host=i686 --target=i686 --build=i686

If it doesn't, try this:
Code:
./configure --host=i386 --target=i386 --build=i386
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top