[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-Porters] Configure.mpw




Hi,

While I have not yet built MacPerl from source yet (actually I don't
have a copy of MWC :-) I have been going over the build instructions 
more closely than ever before.  One thing odd that I noted was the
admonishment on MPP&E to name one's MPW_Shell directory :MPW: since
the build scripts expect this (step 3 on pg 329).  I have gone over some (not all)
things and e.g. :MacPerl_Src:perl:BuildRules.mk seems to mention 
things relative to $(MPW).  My (limited :-) understanding of the default 
setup of the shell is that {MPW} is set to {Shelldirectory}
and that neither need be explicitly expanded.  So is the book wrong
or have I simply failed to find the explcit dependency on path naming convention?
(I realize that *if* I had a working compoiler I could simply test this
with a build - alas my budget for such things is somewhat limited :-).

At any rate I have started working on a Mac port of Configure that I am
calling Configure.mpw (for lack of a better name) that checks the MANIFEST
file and the build environment for necessary MPW tools, libs, headers, etc.
Though I note that Tcl is setup to build using Applescripts it seemed
advantageous to write Perl's Mac script in MPW - does that sound reasonable?

So I am curious: where will the Mac specific files wind up in the perl tar ball?
Will there be a folder :mac: (er, mac/)?  It would seem that :MacPerl_Src:perl: 
maps to /perl5.005_5n/ (if you'll pardon the unixism) with the exception
of the dmake files, some extra perl scripts, and the following source
files:

CheckIsRecord.c
ExtractStubSymbols 
HandleSocket.cp
icemalloc.c
icemalloc.h
macish.c
macish.h
missing.c
nostdio.h
Perl.rsrc
perl.stubexclude
perl.stubsymbols
PerlStub         (136k stub lib???)
runbigperl.c
runperl.c
SafeDel       # MPW script
SubLaunch.c
SubLaunch.h
UnPreload.c
config.mac    # MPW equiv of config.sh

Does that list look about right?  Would it be OK to assume that a Configure script
would need to Move or Duplicate those files from the :mac: directory into the
main perl5.005_5n build directory prior to the build?

While I haven't diffed things yet, some files will obviously need patching in 
the main perl5* directory (e.g. run.c).

Also, is it reasonable to assume that the stuff in :MacPerl_Src:macperl: will
still be distributed separately from the perl tar ball?

Thanks for your indulgence.


Peter Prymmer

 

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-porters-request@macperl.org