• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1MACOS (not MACOS X)
2===================
3This is the first attempt at porting curl to MacOS.
4http, ftp, dict and telnet seems to work fine, other protocols and advanced
5features have not been all tested.
6
7This port is heavily based on the GUSI library from Matthias Neeracher.
8GUSI (Grand Unified Socket Interface) is a POSIX/Pthreads/Sockets library
9bringing some of the comforts of UNIX 98 to traditional MacOS.
10The latest GUSI release can be downloaded from sourceforge
11at <http://sourceforge.net/projects/gusi/>
12
13I have also written a few functions to help port Unix applications to MacOS.
14These functions are part of the GUSI Extra library that can be downloaded at
15<http://perso.wanadoo.fr/ela/resources.html#gusiextra>
16
17OpenSSL support is still experimental but I hope to deliver a version
18including SSL soon.
19
20curl for MacOS requires using the CodeWarrior compiler from Metrowerks.
21
22First download GUSI, GUSI Extra and curl. Access paths have been setup so that
23GUSI, GUSI Extra and curl directories should have the same parent directory.
24
25Follow the instructions in GUSI Extra "readme.txt" mainly the ones related to
26SIOUX and GUSI patches. If you do not apply these patches curl will not behave
27correctly.
28
29In the 'curl/src/macos' directory, decode "curl.mcp.xml.sit.hqx" (This is a
30stuffit binhexed file)
31From the CodeWarrior IDE, import 'curl/src/macos/curl.xml', adjust the access
32paths if required. Then you should be able to build:
33- the libcurl libraries for PPC and 68K.
34- the curl application (also available for PPC and 68K) which is the command
35  line version of curl.
36
37If the file "tool_hugehelp.c" is missing rename "curl/src/tool_hugehelp.c.cvs"
38to "tool_hugehelp.c" and make sure its file type is 'TEXT'
39