[squeak-dev] A Bounty for CMake-ifying stack/Cog vm build process

Igor Stasenko siguctua at gmail.com
Sat Nov 30 07:12:49 UTC 2013


On 30 November 2013 00:21, gettimothy <gettimothy at zoho.com> wrote:

> Thanks, Tom
>
> I watched a video a while ago where VisualWorks had an object for an .ini
> file.
>
> I have also seen interest to move the build system into the Smalltalk
> environment itself.
>
> I saw Program{'hello.c'}  and thought
> "SomeAppropriatelyNamedSmalltalkClass  generateBuildSystem platform: #pdp11
> ...."
>
> .. yes, and we have one:

PharoVMBuilder build

:)


> I will re-adress this when I can get the Stack VM running and get a handle
> on the present build system.
>
> Cordially,
>
> tty
>
>
>
>
>
> ---- On Fri, 29 Nov 2013 11:32:56 -0800 *Tom
> Rushworth<tom.b.rushworth at gmail.com <tom.b.rushworth at gmail.com>>* wrote
> ----
>
> I've used both scons and its re-write waf.
>
> I consider them to be the true "next generation" build tools. As far
> ahead of all the various "make" flavors as git and hg are ahead of cvs.
>
> They both have decent docs and user communities, but there is a bit of a
> learning curve :(.
>
> On 13-11-28 17:47 , gettimothy wrote:
> > While upgrading my Slackware to 14.1 so I could install Bochs and
> re-compiling my apps I saw that esr's gpsd requires something called scons
> for its build system:
> >
> > http://www.scons.org
> >
> > Here is an example from the docs:
> >
> >
> > Here's the famous "Hello, World!" program in C:
> > int main() { printf("Hello, world!\n"); } And here's how to build it
> using SCons. Enter the following into a file named SConstruct:
> > Program('hello.c') This minimal configuration file gives SCons two
> pieces of information: what you want to build (an executable program), and
> the input file from which you want it built (the hello.c file). Program is
> a builder_method, a Python call that tells SCons that you want to build an
> executable program.
> > That's it. Now run the scons command to build the program. On a
> POSIX-compliant system like Linux or UNIX, you'll see something like:
> > % scons scons: Reading SConscript files ... scons: done reading
> SConscript files. scons: Building targets ... cc -o hello.o -c hello.c cc
> -o hello hello.o scons: done building targets. On a Windows system with the
> Microsoft Visual C++ compiler, you'll see something like:
> > C:\&gt;scons scons: Reading SConscript files ... scons: done reading
> SConscript files. scons: Building targets ... cl /Fohello.obj /c hello.c
> /nologo link /nologo /OUT:hello.exe hello.obj embedManifestExeCheck(target,
> source, env) scons: done building targets.
> > Has anybody poked around this thing?
>
> Not I. Do you have specific questions?
> >
> > tty
> >
> Regards,
>
> --
> Tom Rushworth
>
>
>
>
>
>


-- 
Best regards,
Igor Stasenko.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20131130/0e732ccf/attachment.htm


More information about the Squeak-dev mailing list