RE: Strongtalk from scratch (really patch to get rid of assembly code)

"Peter Golde" <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.strongtalk
Message-ID <9723A04967D44C49B27712338D25F240@DellLaptop>
Looking at the diffs, this looks like a promising approach to getting rid of
the ASM files (which I wholeheartedly support), but I was unable to get it
to work.

In order to get the build to work (using VC++ 2005) I had to add the
following four lines to deps\includeDB:

    codeIterator.cpp	interpreter.hpp
    dispatchTable.cpp	interpreter.hpp
    process.cpp		interpreter.hpp
    stubRoutines.cpp	interpreter.hpp

and then redo the makedeps.

I then added these files to the project:

    behavior_prims_gen.cpp
    block_prims_gen.cpp
    double_prims_gen.cpp
    smi_prims_gen.cpp
    generatedPrimitives.cpp
    generatedPrimitives.hpp

Doing that allowed the project to build without errors (with two benign
looking warnings). However, running the resulting "strongtalk_debug.exe"
caused a near instant access violation, with the following output. I did not
attempt to debug it further.


Smalltalk Virtual Machine by LongView Technologies LLC
---------------------------------------------------------
(c) 1994-1997 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
Use and distribution of this software is subject to the
terms of the attached license.
---------------------------------------------------------
Version 1.1 (build Apr 24 2007 17:08:27)
(use argument -? for a list of flags)

- VM is in debug mode
[Reading in strongtalk.bst, n, 0.533 secs]
Exception caught "Access violation".

Last 10 internal VM events:
- CompiledICLookup (0xd30d6d, 0xca7dd5) --> 0x52104a8
- CompiledICLookup (0xca2431, 0xca7dd5) --> 0x52101c8
- CompiledICLookup (0xca33e5, 0xca7dd5) --> 0x52104c8
- CompiledICLookup (0xcb0649, 0xcb2349) --> 0x3e00084
- CompiledICLookup (0xca33e5, 0xca7dd5) --> 0x5210508
- CompiledICLookup (0xd30d6d, 0xca7dd5) --> 0x5210128
- CompiledICLookup (0xd30d6d, 0xca2c4d) --> 0x52101c8
- CompiledICLookup (0xcb87ad, 0xca7dd5) --> 0x5210548
- CompiledICLookup (0xcb87ad, 0xca7dd5) --> 0x52104c8
- CompiledICLookup (0xcb87ad, 0xca2c4d) --> 0x5210128
Trace at exception
- Stack trace

#1, receiver "6-StandardWindow", method holder "7-Window class"
show

#2, receiver "nil"
block

#3, receiver "9-[] in launch(scope = 10-Context{dead |2})"
value: arg1 "8-Session"

#4, receiver "8-Session"
block

#5, receiver "11-[] in initIn:do:(scope = 12-Context{dead |2})"
value

#6, receiver "nil"
block

#7, receiver "13-[] in for:(scope = 14-Context{dead |2})"
value

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of prunedtree
Subject: Re: Strongtalk from scratch


No, because i build using vc6. I could release the vc6 file if you
want, but all you need is to do is:

starting with the source, make a project with all .cpp files.
(you don't need to run makeDeps because the files in deps/incls are
already there)

in the project:
- add all source directories as include directories (including deps/)
- add DELTA_COMPILER,MICROSOFT and PRODUCT or DEBUG in defines

and from there you should build without a problem


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Strongtalk-general" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/strongtalk-general?hl=en
-~----------~----~----~----~------~----~------~--~---
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.