<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'><div>In the Cog/src/vm<br></div><div><br></div><div>running the -E option on gcc shows the NoDbgRegParms NOT being replaced in gcc3x-cointerp.c (along with some warnings that may be relevant, I don't know)</div><div><br></div><div></div><br><blockquote style="border-top-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; padding-top: 7px; padding-right: 7px; padding-bottom: 7px; padding-left: 7px; background-color: rgb(245, 245, 245);"><div><div>gcc -E gcc3x-cointerp.c -I /home/wm/usr/src/smalltalk/CMake.oscog/Cog/platforms/unix/vm -I /home/wm/usr/src/smalltalk/CMake.oscog/Cog/platforms/Cross/vm/ -I /home/wm/usr/src/smalltalk/CMake.oscog/Cog/build.linux32x86/squeak.cog.v3/build.assert/ -I ./ | cat &gt; ~/gcc3x<br>In file included from /home/wm/usr/src/smalltalk/CMake.oscog/Cog/platforms/Cross/vm/sq.h:18:0,<br>                 from /home/wm/usr/src/smalltalk/CMake.oscog/Cog/platforms/unix/vm/sqGnu.h:37,<br>                 from gcc3x-cointerp.c:28:<br>/home/wm/usr/src/smalltalk/CMake.oscog/Cog/platforms/unix/vm/sqConfig.h:12:2: error: #error "LSB_FIRST is undefined. Used for setting platform endianesness!"<br> #error  "LSB_FIRST is undefined. Used for setting platform endianesness!"<br>  ^<br>gcc3x-cointerp.c:77:0: warning: "sigsetjmp" redefined [enabled by default]<br> # define sigsetjmp(jb,ssmf) _setjmp(jb)<br> ^<br>In file included from gcc3x-cointerp.c:26:0:<br>/usr/include/setjmp.h:103:0: note: this is the location of the previous definition<br> # define sigsetjmp(env, savemask) __sigsetjmp (env, savemask)<br> ^<br></div></div></blockquote> <br><div>The same command on cogit.c DOES show the replacement.</div><div><br></div><div>The question then becomes why is variable replacement &nbsp;happening on the one and not the other.</div><div><br></div><div>I have been focusing on the preprocessor logic that sets NoDbgRegParms, but is there something else I may be overlooking?</div><div><br></div><div>thx.</div><div><br></div><div>tty</div><div><br></div><div><br></div><div><br></div></div></body></html>