Re: Building on linux
prunedtree <[email protected]> Tue, 08 May 2007 13:38:27 -0000
| Newsgroups | gmane.comp.lang.smalltalk.strongtalk |
|---|---|
| Message-ID | <[email protected]> |
On May 7, 1:10 pm, "David Griswold" <[email protected]> wrote: > That's terrific! I'll start reviewing the code and attempting to check it > in. > > I know there is has been some code exchange back and forth on the list > without the code being committed; if this includes other people's changes > too please let me know so I can credit everyone appropriately when I commit > the code. It's based on http://www.strongtalk.org/downloads/strongtalk-source-r36.zip I didn't include other people changes. > > Also, you don't mention it, but I'm hoping that this code also compiles and > runs ok under VC++? Sure, i'm working with VC6. IMHO the same code should be used with all compilers. Any code I compiled with GCC was compiled fine with VC6 too. > We haven't yet had to branch the code base for > gcc/Linux/MacOS ports. I'm open to advice on the best way to do that > when/if it is necessary. I think we should do it like HotSpot, it's the most natural way. We won't need any branches on the codebase for the source tree, and all the platform-specificity should be encapsulated in the os_<platform>.cpp/hpp files. A simple change in the platform file when you use MakeDeps will change the included files. regards, prunedtree > > - Dave > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]]On Behalf Of prunedtree > > Sent: Monday, April 30, 2007 4:40 PM > > To: Strongtalk-general > > Subject: Re: Building on linux > > > Building with GCC now works. Tested with mingw32-3.4.4 > > > Stability with the recompiler isn't optimal yet, but it's not > > mandatory to run the system. > > > Here's the source : > > >http://www.sendspace.com/file/p9c3nf strongtalk r36-noasm3 VM > > pack.zip 1263 kbytes > > > Project files for VC6 and CodeBlocks included. > > To build this code with GCC, the following switches are needed : > > -fno-const-strings > > -fno-for-scope > > -fno-operator-names > > > cheers, > > prunedtree > > > On 27 avr, 21:31, prunedtree <[email protected]> wrote: > > > Regarding assembly, I finished to get rid of inline assembly in the VM > > > (mostly by replacing code by C equivalents, or using code generation > > > where appropriate), and strongtalk compiles successfully with gcc on > > > windows (mingw). > > > > The resulting binary doesn't work fully yet (problems in the OS layer) > > > > With this done, language-level issues are solved, the major issue to > > > port the VM to linux is now OS interaction. > > > > Btw, if you disable os::message_box, strongtalk on windows XP has only > > > dependencies on kernel32.dll. Hence porting the VM looks fairly easy. > > > But much code won't work in the image (I/O, UI, etc ..) > > > > I'll provide the sourcecode if anyone is interressed, but it's still > > > work in progress. > > > > regards, > > > prunedtree > > > > On Apr 26, 2:28 pm, "Dave Raymer" <[email protected]> wrote: > > > > > The patches are for the C++ files only; the .ASM files have > > not be ported / > > > > dealt with yet. > > > > > -- the other Dave > > > > > On 4/24/07, jpraher <[email protected]> wrote: > > > > > > Sorry, I did not realize that someone has already submitted some > > > > > patches. > > > > > > I will look at them and try them out. > > > > > -- Jakob > > > > > > On Apr 24, 5:10 pm, jpraher <[email protected]> wrote: > > > > > > hi everybody, > > > > > > > is strontalk currently runnable on linux? > > > > > > which areas of the code are windows-secific? (e.g. > > windowing and stuff > > > > > > like that) > > > > > > is anybody working on a build system on non windows platforms? > > > > > > > i am primarily interested in the virtual machine. > > > > > > so i just would like to have a command line interpreter > > to start with > > > > > > that runs on linux. > > > > > > > thanks in advance > > > > > > -- Jakob > > > > > -- > > > > A man's greatest treasure is his wife, she is a gift from the Lord > > > > - Proverbs 18:22 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---