User forums > Embedded development
SystemC
letscho:
Installation Notes for Windows
---------------------------------
Visual C++ 7.1
--------------
The download directory contains two subdirectories: 'msvc71' and
'examples'.
The 'msvc71' directory contains the project and workspace files to
compile the 'systemc.lib' library. Double-click on the 'SystemC.vcproj'
file to launch Visual C++ 7.1 with the workspace file. The workspace file
will have the proper switches set to compile for Visual C++ 7.1.
Select `Build SystemC' under the Build menu or press F7 to build
`systemc.lib'.
The `examples' directory contains the project and workspace files to
compile the SystemC examples. Go to one of the examples subdirectories
and double-click on the .vcproj file to launch Visual C++ with the
workspace file. The workspace file will have the proper switches set
to compile for Visual C++ 7.1. Select 'Build <example>.exe' under the
Build menu or press F7 to build the example executable.
I want to use Code::Blocks instead of Visual C++, but how can I build the file systemc.lib and include it in Code::Blocks? I hope someone can help?
stahta01:
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_Code::Blocks_is_not.3F
What compiler are you planning to use?
letscho:
I always used the GNU GCC compiler. Do I have to change it?
stahta01:
--- Quote from: letscho on August 21, 2010, 09:51:00 am ---I always used the GNU GCC compiler. Do I have to change it?
--- End quote ---
Using the MSVC++ is easier to do.
Import the MSVC++ project with the default Compiler set to what you wish to use.
Knowledge required: Must be skilled programmer with knowledge of both MinGW GCC, MSVC++, and Code::Blocks.
1. Use Foreign project importer to import MSVC++ project (under File -> Import Project)
2. Save the created Code::Blocks Project/Workspace.
3. Fix all the broken things.
--- Quote ---how can I build the file systemc.lib
--- End quote ---
The above is likely to be hard to impossible to do; depending on what you mean. Hint: .lib files are NOT used/supported by Mingw GCC
Tim S.
letscho:
There is the problem, I am not a skilled programmer (I try to become one)!
Until now I have never had to change the compiler settings, because I usually use Code::Blocks only for simply C programs.
I try to learn SystemC which is entirely based on C++. Hence I thought when I include the libraries of SystemC, I can use Code::Blocks as development environment. But I cannot find any files with the ending .lib in the SystemC source code.
What do I have to do when I want to use Code::Blocks as development environment for SystemC programs?
Navigation
[0] Message Index
[#] Next page
Go to full version