Le 02/03/2011 18:23, Eliot Miranda a écrit :
On Wed, Mar 2, 2011 at 8:21 AM, Hilaire Fernandes <hilaire.fernandes@gmail.com <mailto:hilaire.fernandes@gmail.com>> wrote:
I am still willing to get Locale working with the combination of COG VM and Pharo. especially to make a version of DrGeo for the XO laptop where the CPU is subminimal, it brings a big usability improvement for the kids. But so far, the locale plugin does not work, any clue?
Run under gdb. Things to check: there could be an unresolved reference
Hum, remember the good old unpleasant time with DrGeo C++ and debugging with GDB.
which causes it to fail to load. See "Testing an external plugin has completely linked" in
Nevertheless it looks like the plugin is loaded as: Smalltalk listLoadedModules. #('SocketPlugin VMMaker-oscog.40 (i)' 'Matrix2x3Plugin VMMaker-oscog.40 (i)' 'FloatArrayPlugin VMMaker-oscog.40 (i)' 'JPEGReadWriter2Plugin VMMaker-oscog.40 (i)' 'DropPlugin VMMaker-oscog.40 (i)' 'B2DPlugin VMMaker-oscog.40 (i)' 'ZipPlugin VMMaker-oscog.40 (i)' 'LargeIntegers v1.5 VMMaker-oscog.40 (i)' 'LocalePlugin VMMaker-oscog.40 (e)' 'BitBltPlugin VMMaker-oscog.40 (i)' 'SecurityPlugin VMMaker-oscog.40 (i)' 'FilePlugin VMMaker-oscog.40 (i)' 'MiscPrimitivePlugin VMMaker-oscog.40 (i)')
http://www.squeakvm.org/svn/squeak/branches/Cog/unixbuild/HowToBuild. If it loads, put a breakpoint in initialiseModule and step through it. Building a debug VM can help in debugging (again see HowToBuild)
I will try this Hilaire -- Education 0.2 -- http://blog.ofset.org/hilaire