Discussion:
[Iup-users] Compiling with Pelles C
Wendell P
2014-06-20 19:49:42 UTC
Permalink
I have been compiling the C examples with the Tiny C compiler and it
works very well for dynamic linking. However, I'm having a lot of
trouble with the Pelles C compiler. The problem seems to be in a
conflict between MSVCRT and the Pelles C runtime. A solution we have
found is to recompile iupstub.lib on Pelles C. That seems to be avoiding
the problem rather than fixing it. There is a long discussion on the
Pelles C forum, if anyone can take a look.

Topic: Trouble linking C runtime
http://forum.pellesc.de/index.php?topic=6269.0
--
http://www.fastmail.fm - Email service worth paying for. Try it for free
Antonio Scuri
2014-06-20 21:15:58 UTC
Permalink
Hi Wendell,

When statically linking it is recommended that everything should be
compiled with the same compiler.

When dynamically linking you can safely use multiple C runtimes by
avoiding to mix its pointers, like FILE*. I think that the solution
you found, to recompile iupstub, is the way to use the pre-compiled
DLLs.

Best,
Scuri
Post by Wendell P
I have been compiling the C examples with the Tiny C compiler and it
works very well for dynamic linking. However, I'm having a lot of
trouble with the Pelles C compiler. The problem seems to be in a
conflict between MSVCRT and the Pelles C runtime. A solution we have
found is to recompile iupstub.lib on Pelles C. That seems to be avoiding
the problem rather than fixing it. There is a long discussion on the
Pelles C forum, if anyone can take a look.
Topic: Trouble linking C runtime
http://forum.pellesc.de/index.php?topic=6269.0
--
http://www.fastmail.fm - Email service worth paying for. Try it for free
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Iup-users mailing list
https://lists.sourceforge.net/lists/listinfo/iup-users
Loading...