Open asarch opened 2 years ago
Right now the system expects the sources file to be a) in the same directory as the image you are running b) the same directory as the VM executable
At least, that's what I recall. This can be a problem since the sources file is meant as a shared file across all your images and they may well be in many directories. And you might even have multiple versions of the VM, so that option is problematic too.
Currently I make symbolic links to work around this but we really need to improve on this. The main squeak-dev list is the place to whine though...
On 2022-08-01, at 6:46 PM, asarch @.***> wrote:
I get that when I build opensmalltalk-vm/building/linux64x64/newspeak.cog.spur. Where should I put that file?
Here is the log:
newspeak_compilacion.log
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.
tim Rowledge; @.***; http://www.rowledge.org/tim Useful random insult:- Wasn't fully debugged before being released.
I put them in the opensmalltalk-vm/building/linux64x64/newspeak.cog.spur/build dir before I started to ./mvm to build the virtual machine.
On 2022-08-02, at 12:20 AM, asarch @.***> wrote:
I put them in the opensmalltalk-vm/building/linux64x64/newspeak.cog.spur/build dir before I started to ./mvm to build the virtual machine.
Why? The sources file doesn't have a lot to do with building the vm. It isn't C code to be compiled, after all.
tim Rowledge; @.***; http://www.rowledge.org/tim Useful random insult:- Thinks "Private Enterprise" means owning a personal starship.
Well, after the compilation process has finished, somehow, mvm asks for them. That's why I was asking about it. In the log you can see the error message.
Aah, right; it's running the install rule.
If you look in the Makefile that has been generated earlier you'll find (probably, my set of files are a year or so out of date and it is possible things might have changed a bit) a line like this -
topdir= /home/pi/DizietFS/Documents/Squeak/opensmalltalk-vm
... but with a filepath suited to your machine.
Further down is a chunk like this -
install-sources : $(MKINSTALLDIRS) $(ROOT)$(imgdir) $(INSTALL_DATA) $(topdir)/SqueakV$(SQ_MAJOR).sources $(ROOT)$(imgdir)
.. and you can see that it expects to find a copy of the file in 'topdir'.
On 2022-08-04, at 7:48 PM, asarch @.***> wrote:
Well, after the compilation process has finished, somehow, mvm asks for them. That's why I was asking about it. In the log you can see the error message.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
tim Rowledge; @.***; http://www.rowledge.org/tim Florida: more red in the face
I get that when I build opensmalltalk-vm/building/linux64x64/newspeak.cog.spur. Where should I put that file?
Here is the log:
newspeak_compilacion.log