main() in Squeak

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

main() in Squeak

Ang BeePeng
I was looking at SqueakVM source in C, I can't find any main() in the source code. Where is the main, or where Squeak actually starts from?

Thanks in advance for advices.

Ang Beepeng
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] main() in Squeak

K. K. Subramaniam
On Tuesday 17 Mar 2009 9:24:17 pm Ang Beepeng wrote:
> I was looking at SqueakVM source in C, I can't find any main() in the
> source code. Where is the main, or where Squeak actually starts from?
Under which platform? I see main() in platforms/unix/vm/sqUnixMain.c

Subbu



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] main() in Squeak

Bert Freudenberg
In reply to this post by Ang BeePeng

On 17.03.2009, at 16:54, Ang Beepeng wrote:

>
> I was looking at SqueakVM source in C, I can't find any main() in  
> the source
> code. Where is the main, or where Squeak actually starts from?



Depends on the platform. For Unix it's in

http://squeakvm.org/svn/squeak/trunk/platforms/unix/vm/sqUnixMain.c

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] main() in Squeak

Rob Rothwell
In reply to this post by K. K. Subramaniam
On Windows it isĀ  WinMain() in platforms\win32\vm\sqWin32Intel.c, which in turn calls sqMain()...

Rob

On Tue, Mar 17, 2009 at 12:17 PM, K. K. Subramaniam <[hidden email]> wrote:
On Tuesday 17 Mar 2009 9:24:17 pm Ang Beepeng wrote:
> I was looking at SqueakVM source in C, I can't find any main() in the
> source code. Where is the main, or where Squeak actually starts from?
Under which platform? I see main() in platforms/unix/vm/sqUnixMain.c

Subbu