David T. Lewis uploaded a new version of VMMaker to project VM Maker: http://source.squeak.org/VMMaker/VMMaker-dtl.417.mcz ==================== Summary ==================== Name: VMMaker-dtl.417 Author: dtl Time: 26 July 2020, 7:55:15.52 pm UUID: 14446c08-7d2a-41a6-9370-2f5eba5ac1e8 Ancestors: VMMaker-dtl.416 Update to remove call to deprecated method in ImageFormat. =============== Diff against VMMaker-dtl.416 =============== Item was changed: ----- Method: VMMaker>>generateUtilityPrograms (in category 'generate sources') ----- generateUtilityPrograms "Any additional sources not directly part of the VM may be generated here" Smalltalk at: #ImageFormat ifPresent: [:cls | "generate ckformat utility program" + cls storeCkFormatOnFile: (self sourceDirectory fullNameFor: 'ckformat.c')]! - cls storeCkstatusOnFile: (self sourceDirectory fullNameFor: 'ckformat.c')]! |
Hi David, what directory are you generating ckformat.c to? I'll try and match it in VMMaker.oscog. On Sun, Jul 26, 2020 at 4:55 PM <[hidden email]> wrote:
_,,,^..^,,,_ best, Eliot |
Hi Eliot, On Mon, Jul 27, 2020 at 10:33:46AM -0700, Eliot Miranda wrote: > > Hi David, > > what directory are you generating ckformat.c to? I'll try and match it > in VMMaker.oscog. > In the old VMMaker, the ckformat.c file gets generated to the ./src directory, and the compiled ckformat is included in lib/squeak/<version>/ along with the VM executable and plugins. The ckformat.c source gets checked in with other generated sources here: http://squeakvm.org/cgi-bin/viewvc.cgi/squeak/trunk/src/ckformat.c?revision=3782&view=markup The /usr/local/squeak script (Ian's) uses the ckformat that it finds in the lib folder, and the "vmrun" script that I wrote later on for my own use takes advantage of it indirectly by using whatever ckformat that it finds in a folder identified by "squeak -version". Dave |
The actual code generation in VMMaker comes from: VMMaker>>generateUtilityPrograms "Any additional sources not directly part of the VM may be generated here" Smalltalk at: #ImageFormat ifPresent: [:cls | "generate ckformat utility program" cls storeCkFormatOnFile: (self sourceDirectory fullNameFor: 'ckformat.c')] And this is just called from VMMaker>>generateEntire Dave On Mon, Jul 27, 2020 at 03:01:07PM -0400, David T. Lewis wrote: > > Hi Eliot, > > On Mon, Jul 27, 2020 at 10:33:46AM -0700, Eliot Miranda wrote: > > > > Hi David, > > > > what directory are you generating ckformat.c to? I'll try and match it > > in VMMaker.oscog. > > > > In the old VMMaker, the ckformat.c file gets generated to the ./src directory, > and the compiled ckformat is included in lib/squeak/<version>/ along with > the VM executable and plugins. > > The ckformat.c source gets checked in with other generated sources here: > http://squeakvm.org/cgi-bin/viewvc.cgi/squeak/trunk/src/ckformat.c?revision=3782&view=markup > > The /usr/local/squeak script (Ian's) uses the ckformat that it finds in > the lib folder, and the "vmrun" script that I wrote later on for my own > use takes advantage of it indirectly by using whatever ckformat that it > finds in a folder identified by "squeak -version". > > Dave > |
Free forum by Nabble | Edit this page |