Jump to content

Recommended Posts

Posted

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

Posted

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

 

Posted

Hi Philipp,

 

Thanks you very much for your answer! It already helped me, I simply tried it again and -voilà- a flawless installation procedure.

 

Greetings from Zurich,

Markus

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...