Mark Posted December 11, 2019 Report Share Posted December 11, 2019 I'm running into issues while installing SystemC using gcc version 6.2 gcc version 5.2.2 goes through fine. Running this command: Quote xterm> ../configure configure: error: in `/geo/projects/w6a0/users/mzamek/SystemC_experiments/systemc-2.3.3/objdir': configure: error: C++ compiler cannot create executables xterm> echo $CXX g++ xterm> g++ -c g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/tools/pub/RHEL7/opt/gcc-6.2/libexec/gcc/x86_64-pc-linux-gnu/6.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../configure --prefix=/tools/pub/RHEL7/opt/gcc-6.2 --enable-languages=c,c++ --disable-multilib Thread model: posix gcc version 6.2.0 (GCC) I'm attaching config.log file. Quote Configured with: ../configure --prefix=/tools/pub/RHEL7/opt/gcc-6.2 --enable-languages=c,c++ --disable-multilib Thread model: posix gcc version 6.2.0 (GCC) configure:3318: $? = 0 configure:3307: g++ -V >&5g++: error: unrecognized command line option '-V' g++: fatal error: no input files compilation terminated. configure:3318: $? = 1 configure:3307: g++ -qversion >&5 g++: error: unrecognized command line option '-qversion'; did you mean '--version'? g++: fatal error: no input files config.log Quote Link to comment Share on other sites More sharing options...
maehne Posted December 14, 2019 Report Share Posted December 14, 2019 Have you tried to compile and run a simple hello-world-style C++ program in the same environment, from which you called configure? The config.log shows that your PATH contains the bin directories of many different EDA toolchains. Some of them come before the bin directories of your host OS. This may cause issues as these EDA toolchain installation tend to include a lot of basic libraries, which are normally provided by the host OS. This can cause interferences. You may try configure and build SystemC in an environment, where the PATH got pruned of all the EDA toolchain bin paths. Quote Link to comment Share on other sites More sharing options...
Mark Posted December 18, 2019 Author Report Share Posted December 18, 2019 Thanks, I confirm that installation of GNU 6.2 was broken. It is just not something I expected so did not try compiling anything else. Quote Link to comment Share on other sites More sharing options...
omaima Posted September 6, 2020 Report Share Posted September 6, 2020 I wanna install lib and include library by using cygwin for systemC 2.3.3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.