[ANN][VM][SF] my Unix patches integrated into SF layout

Lex Spoon lex at cc.gatech.edu
Thu Jan 3 02:49:20 UTC 2002


> 
> I noticed that sq.h is taken from the build dir hierarchy, by the way,
> so it's not entirely consistent...

I think that's the proper location to grab this file from.  The sq.h in
the Cross-platform directory probably shouldn't even be there, really.

My understanding is:

	src - holds stuff generated by Squeak
	Cross - holds stuff that all platofrms can use, that wasn't
automatically generated
	unix - holds Unix-specific stuff

Actually, though, src ends up combining all three, the way VMMaker
works.  This combining behavior seems to be a little tricky to get just
right, however....



> Or at least I don't understand what is pulled from where, exactly.
> And I get warnings about duplicate rules in the Makefile.

Could you try deleting platfoms/Cross/SurfacePlugin/SurfacePlugin.c,
running configure again, and seeing if the errors go away?



> I'm not courageous enough to dive into this autoconf/Makefile stuff to
> find out why or do something against it, though...

I hear you!  autoconf stuff is a mess even at its best!



> However, I have attached a new version of sqUnixMemory.c, which removes
> a few pointer/int cast compiler warnings. Briefly tested with/without
> mmap enabled.

Awesome, those are annoying!  I've uploaded your version now, along with
some small changes to sqPlatformSpecific.h I'm sure you made.



-Lex




More information about the Squeak-dev mailing list