Jump to content
Markus

Integrating SystemC in MinGW software project

Recommended Posts

Hi,

 

I'm trying to integrate SystemC into a software project compiling with MinGW/gcc in order to periodically simulate hardware parts . However, linking the software with SystemC libraries (built with VS) leads to what I expect to be compiler interoperability artefacts like:

 

Warning: corrupt .drectve at end of def file

Targets\lib\SystemC.lib(Debug/sc_main_main.obj):(.text$mn+0x2e): undefined reference to `__security_cookie'

 

Building the libraries with MinGW fails at the configure-step, as discussed in other topics. Is there any other way?

Thanks in advance!

 

-Markus

Share this post


Link to post
Share on other sites

Hi Markus,

 

since SystemC 2.3.1, building/running the library with MinGW compilers has been validated (quoting the README):
 

o Windows 7 SP1 (WoW64), Msys 1.0.17(0.48/3/2)
    - MinGW32 GNU C++ compiler versions 4.5.2 through 4.7.0 (x86);
    - MinGW-w64 GNU C++ compiler version 4.8.1 (x86 and x86_64)

 

What errors do you see during configure?

 

Greetings from Duisburg,
  Philipp

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×