Unresolved external symbol '__chkstk'

Started by wineggdrop, Yesterday at 05:41:23 AM

Previous topic - Next topic

wineggdrop

when I try to build a windows application without CRT(Ignore Standard places Set), "Unresolved external symbol '__chkstk'" error will pop up.When I add a dummy __chkstk,error #3119: [asm] Redefinition of symbol '__chkstk'. will show up.any option to avoid that error?I am new to Pelles C.

TimoVJL

May the source be with you

Pelle

Raymond Chen at Microsoft recently blogged about this (in multiple posts).
I think it starts here: https://devblogs.microsoft.com/oldnewthing/20260311-00/?p=112134
/Pelle

Vortex

Hi wineggdrop,

Here is a stack allocation function based on chkstk from Pelles C. You can use it with your C project too.

https://forum.pellesc.de/index.php?topic=7282.0
Code it... That's all...