Search the Community
Showing results for tags 'compile systemc'.
-
Hi, I am new to SystemC programming. I started implementing from scratch. My intention is to develop TLM models depicting different processor subsystems. I have two questions regarding compilation. 1. Can we use gcc or we should use g++ only? 2. I want to enable all the possible warnings for debug purposes. I am using the following switches. I will appreciate if you please comment regarding the switches. -pedantic -Wall -Wextra -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wnoexcept -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion -Wsign-promo -Wstrict-null-sentinel -Wstrict-overflow=5 -Wswitch-default -Wundef -Werror -Wno-unused Thanks in advance. Best regards SC
-
Hi I tried to compile systemC on MSYS Windows. I got error. Can anybody help me? I also pasted the config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by SystemC configure 2.3.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ ../configure --target=mingw32 ## --------- ## ## Platform. ## ## --------- ## hostname = LiuKe-PC uname -m = i686 uname -r = 1.0.18(0.48/3/2) uname -s = MINGW32_NT-6.1 uname -v = 2012-11-21 22:34 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: . PATH: /usr/local/bin PATH: /mingw/bin PATH: /bin PATH: /c/ProgramData/Oracle/Java/javapath PATH: /c/Program Files (x86)/NVIDIA Corporation/PhysX/Common PATH: /c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v6.5/bin PATH: /c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v6.5/libnvvp PATH: /c/Windows/system32 PATH: /c/Windows PATH: /c/Windows/System32/Wbem PATH: /c/Windows/System32/WindowsPowerShell/v1.0/ PATH: /c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit/ PATH: /c/Program Files/Microsoft SQL Server/110/Tools/Binn/ PATH: /c/Program Files/MATLAB/MATLAB Production Server/R2015a/runtime/win64 PATH: /c/Program Files/MATLAB/MATLAB Production Server/R2015a/bin PATH: /c/MinGW_Toolchains/mingw64/bin PATH: /usr/bin PATH: /c/Imperas/bin/Windows64 PATH: /c/Imperas_Eclipse/Windows32/Eclipse/jre/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2373: checking build system type configure:2387: result: i686-pc-mingw32 configure:2407: checking host system type configure:2420: result: i686-pc-mingw32 configure:2440: checking target system type configure:2453: result: i386-pc-mingw32 configure:2496: checking for a BSD-compatible install configure:2564: result: /bin/install -c configure:2575: checking whether build environment is sane configure:2625: result: yes configure:2766: checking for a thread-safe mkdir -p configure:2805: result: /bin/mkdir -p configure:2818: checking for gawk configure:2834: found /bin/gawk configure:2845: result: gawk configure:2856: checking whether make sets $(MAKE) configure:2878: result: yes configure:2944: checking how to create a pax tar archive configure:2957: tar --version tar (GNU tar) 1.23 Copyright © 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. configure:2960: $? = 0 configure:3000: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar configure:3003: $? = 0 configure:3007: tar -xf - <conftest.tar configure:3010: $? = 0 configure:3023: result: gnutar configure:3042: checking whether make supports nested variables configure:3059: result: yes configure:3186: checking for C++ compiler version configure:3195: g++ --version >&5 g++.exe (GCC) 4.8.1 Copyright © 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO