Hello,
When building in native-mode on 64-bit Linux machine, model build fails because it can't find systemc library (in <systemc-path>\lib-linux\libsystemc.).
This is because on linux64 machine, systemc puts the library in <systemc-path>\lib-linux64\libsystemc.a
The root-cause is that archc-2.1/configure.ac is using $host_os to set TARGET_ARCH and does not consider linux64 case.
Rather, it should, like systemc (2.2.0) configure.in, use $target and check for linux64.
Attached: proposed diff file for archc-2.1/configure.ac file.
In addition, checking $target will make archc builds compatible with native and cross-compilation.
Regards,
A.D.
host='x86_64-unknown-linux-gnu'
target='x86_64-unknown-linux-gnu'
host_os='linux-gnu'
software used
----------------------
tar --use-compress-prog=bzip2 -xvf binutils-2.15a.tar.bz2
tar xvzf gdb-6.4a.tar.gz
tar xvzf systemc-2.2.0.tgz
tar xvzf archc-2.1.tar.gz
tar xvzf mips1-v0.7.8.tgz
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
diff file