Re: [Vm-dev] What do these TPharoUnixConfig CMake common compiler    flags do?

gettimothy gettimothy at zoho.com
Wed May 14 20:07:18 UTC 2014


Thank you. Makes sense now.



cheers.


tty

---- On Wed, 14 May 2014 12:43:25 -0700 Nicolai Hess<nicolaihess at web.de> wrote ---- 


 
2014-05-14 19:53 GMT+02:00 gettimothy <gettimothy at zoho.com>:
  
Does anybody know what the purpose of these -D*IMAGE* directives are for? I have not found them documented in the source code. 



PharoUnixConfig sets them as such:

commonCompilerFlags 
       ^super commonCompilerFlags, { 
             '-DIMAGE_DIALECT_NAME="', self executableName, '" '.
             '-DIMAGE_ENV_NAME="PHARO_IMAGE"'.
             '-DDEFAULT_IMAGE_NAME="', self executableName, '.image"' 
 }
 

which is from the Trait TPharoUnixConfig






thx.



tty





 

They are used in the platform code (sqUnixMain.c for example)


 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140514/c6225cb7/attachment.htm


More information about the Vm-dev mailing list