Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
32617198
Kaydet (Commit)
32617198
authored
Agu 19, 1997
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Docs on new tcl/tk, new build tree layout
üst
f10786ba
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
55 deletions
+26
-55
building.html
Mac/Demo/building.html
+26
-55
No files found.
Mac/Demo/building.html
Dosyayı görüntüle @
32617198
...
@@ -44,7 +44,7 @@ directory <code>Mac/mwerks/projects</code> for the project files and
...
@@ -44,7 +44,7 @@ directory <code>Mac/mwerks/projects</code> for the project files and
related stuff.
related stuff.
<LI>
You need MetroWerks CodeWarrior. The current distribution has
<LI>
You need MetroWerks CodeWarrior. The current distribution has
been built with
version 11 of CodeWarrior
. Ordering information is
been built with
CodeWarrior Pro 1
. Ordering information is
available on the
<A
HREF=
"http://www.metrowerks.com/"
>
MetroWerks
available on the
<A
HREF=
"http://www.metrowerks.com/"
>
MetroWerks
homepage
</A>
. You might still be able to build Python with MPW or
homepage
</A>
. You might still be able to build Python with MPW or
Think/Symantec C but you are basically on your own.
Think/Symantec C but you are basically on your own.
...
@@ -54,7 +54,7 @@ Neeracher. The original CWGUSI is
...
@@ -54,7 +54,7 @@ Neeracher. The original CWGUSI is
obtainable from
<A
obtainable from
<A
HREF=
"ftp://sunsite.cnlab-switch.ch/software/platform/macos/src"
>
HREF=
"ftp://sunsite.cnlab-switch.ch/software/platform/macos/src"
>
ftp://sunsite.cnlab-switch.ch/software/platform/macos/src
</A>
.
ftp://sunsite.cnlab-switch.ch/software/platform/macos/src
</A>
.
At the moment Python is built with a
rather hacked-up version of GUSI
,
At the moment Python is built with a
slightly modified version of GUSI 1.8.1fc2
,
these modifications are available in folder
<code>
Python:Mac:GUSI-mods
</code>
.
these modifications are available in folder
<code>
Python:Mac:GUSI-mods
</code>
.
</UL>
</UL>
...
@@ -121,65 +121,41 @@ Top-level-folder:
...
@@ -121,65 +121,41 @@ Top-level-folder:
zlib
zlib
libpng
libpng
gdbm
gdbm
MoreFiles 1.4.3 (not needed by Python, only by tcl/tk)
Python
Python
Tcl 7.6
Tcl/Tk Folder
Tk 4.2
tcl8.0
tk8.0
MoreFiles 1.4.3
Waste 1.2 distribution (if you want waste)
Waste 1.2 distribution (if you want waste)
</PRE>
</PRE>
First build GUSI. If you didn't get the python-specific GUSI you have to
First build GUSI. If you didn't get the python-specific GUSI you have to
move the files from the "CWGUSI-mods" to the right
move the files from the "CWGUSI-mods" to the right
place in the CWGUSI distribution folder. Build the
place in the CWGUSI distribution folder. Build the MSL target for your
projects
<code>
MSLGUSI.68K.µ
</code>
,
<code>
MSLGUSI.CFM68K.µ
</code>
and
platform (MSLGUSI PPC, MSLGUSI 68K or MSLGUSI CFM68K).
<p>
<code>
MSLGUSI.PPC.µ
</code>
.
<p>
If you have a CWGUSI version more recent than
1.8 it could be that the fixes are already included, check it.
Next, in
Next, in
<code>
MoreFiles
</code>
,
<code>
libjpeg
</code>
,
<code>
pbmplus
</code>
,
<code>
MoreFiles
</code>
,
<code>
libjpeg
</code>
,
<code>
pbmplus
</code>
,
<code>
zlib
</code>
,
<code>
libpng
</code>
,
<code>
gdbm
</code>
,
<code>
zlib
</code>
,
<code>
libpng
</code>
,
<code>
gdbm
</code>
,
and
<code>
libtiff
</code>
you build all projects.
Sometimes t
he projects are in "mac"
and
<code>
libtiff
</code>
you build all projects.
T
he projects are in "mac"
subfolders, sometimes they are in the main folder. Tcl/tk is a special
subfolders, sometimes they are in the main folder. Tcl/tk is a special
case, see below. Of course, if you are only interested in one of
case, see below. Of course, if you are only interested in one of
static 68K, CFM68K or PPC you can skip building the other libraries.
static 68K, CFM68K or PPC you can skip building the other libraries.
<H2><A
NAME=
"tcltk"
>
Building Tcl/Tk
</H2>
<H2><A
NAME=
"tcltk"
>
Building Tcl/Tk
</H2>
You need to make some minor changes to the Tcl/Tk
You need to make some minor changes to the Tcl/Tk 8.0 beta2
distribution. The current instructions are for the
distribution. You should make the CW Pro projects TclLibraries.¹ and
<code>
tcl7.6
</code>
and
<code>
tk4.2
</code>
distribution:
TkLibraries.¹ (in the mac subfolders).
<UL>
<UL>
<LI>
You have to change the access path setting and such to use the MSL
<LI>
There are no cfm68k targets. You make these by copying the 68k targets,
libraries (this tcl/tk ditribution predates MSL).
setting the "68k target" to "cfm68k library" and changing the output filename,
and changing the prefix
<LI>
Rename the
<code>
compat
</code>
folders to
<code>
(compat)
</code>
header filename in the C/C++ settings panel to "MW_???HeaderCFM68K".
in both the Tcl and Tk folders.
<LI>
In the Tcl folder, move
<code>
strncasecmp.c
</code>
and
<code>
tclErrno.h
</code>
from
<code>
(compat)
</code>
to the main Tcl
folder.
<LI>
Fix
<code>
dnr.c
</code>
as provided by MetroWerks by inserting
<pre><code>
#pragma ANSI_strict off
</code></pre>
at the
beginning. The tcl library is built with strict ANSI on, and this file
uses C++ style comments.
<LI>
If you want to build
<code>
SimpleTcl
</code>
and
<LI>
I had to add Search.c (from MoreFiles) to the tcl library projects. I don't
<code>
SimpleTk
</code>
you may have to remove the references
understand why this is, but it seemed to cure the problems I had.
to
<code>
libmoto
</code>
from the project, not everyone has this library.
<LI>
If you want to build for CFM68K you have to create the projects
for the libraries yourself. Take the 68K library projects, set the C++ header
file to "MW_TclHeaderCFM68K", the project type to "cfm68K library" and the
filename to "Tcl-CFM68K.Lib" (and similarly for Tk).
You may also have to modify
<code>
TclMacNotify.c
</code>
because there is an error in the Apple Universal headers (sic!). Read the
comments at the beginning of
<code>
Mac:Python:macglue.c
</code>
and copy the
code to
<code>
TclMacNotify.c
</code>
. If you get linker errors on
<code>
GetEvQHdr
</code>
you have not done this correctly.
<em>
XXXX Is this still needed?
</em>
<LI>
Note that if you use a different release of Tcl and Tk than the ones
<LI>
Note that if you use a different release of Tcl and Tk than the ones
I have used you may have to adapt the Python
<code>
tkresources.rsrc
</code>
file.
I have used you may have to adapt the Python
<code>
tkresources.rsrc
</code>
file.
...
@@ -215,19 +191,14 @@ the Python source tree. At the top level, we find the following
...
@@ -215,19 +191,14 @@ the Python source tree. At the top level, we find the following
folders:
folders:
<DL>
<DL>
<DT>
build.mac68k.stand
<DT>
build.mac
<DD>
This is where you build static 68K interpreters.
<DD>
This is where you build the PPC, CFM68K and Fat shared libraries,
interpreter and applet framework. The Fat versions, which are derived
<DT>
build.mac68k.shared
from the other two, are deposited in the parent folder.
<DD>
This is where you build the CFM68K shared library, interpreter
and applet framework.
<DT>
build.macstand
<DD>
This is where you build static 68K interpreters, and possibly static
<DT>
build.macppc.shared
PPC interpreters (but you probably won't need those).
<DD>
This is where you build the PPC shared library, interpreter and
applet framework. You can also build the fat applet framework here.
<DT>
build.macppc.stand
<DD>
This is where you build a nonshared PPC interpreter (optional).
<DT>
Demo
<DT>
Demo
<DD>
Demo programs that are not Mac-specific. Some of these may not
<DD>
Demo programs that are not Mac-specific. Some of these may not
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment