discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep on Mac OS X and Win98


From: Lars Sonchocky-Helldorf
Subject: Re: GNUstep on Mac OS X and Win98
Date: Fri, 22 Feb 2002 16:33:25 +0100

>Am Donnerstag den, 21. Februar 2002, um 21:48, schrieb Lars 
>Sonchocky-Helldorf:
>
>>> As an intermediate step I'm currently trying to get GNUstep to
>>> work on OS X - I'm running into trouble, I'll report later ...
>>
>> GNUstep on Mac OS X/Darwin is still in the progress of beeing ported.
>
>Great. Let me know if I can help.

If you are experienced with gdb you can help indeed. there are some bugs 
that need to be chased down.

>
>> Meanwhile GNUstep base (Foundation) compiles under Darwin with 
>> the stock
>> compiler (Apple patched gcc 2.95.2),
>
>Can't say that, using the (g)cc from Apple Dev tools.
>
>Even "configure" doesn't work: internal compiler errors in 
>several places, "nested functions" don't work either (syntax 
>error), compiling a basic ObjC app failed. Reducing optimization 
>didn't help.

That is the purpose of configure: check out which compilerfeatures work 
and which not. btw. the broken nested functions is one of those gcc 2.95.2 
bugs (radar # 2783924, it's in 
http://www.opensource.apple.com/bugs/numericIndex.html). BTW use the daily 
snapshots of GNUstep.

>
>Having the option of gcc 3.1 from the Darwin repository I 
>stopped looking into it for now.
>
>I'm using the most recent distribution, not current sources off CVS.
>
>
>On Darwin, is it expected to use the Apple runtime environment 
>or the GNUstep environment? Is there any difference once all 
>Apple patches are in the public gcc?

yes, you have to configure it like:

./configure --with-library-combo=nx-gnu-gnu-xgps --prefix=/opt/GNUstep

the prefix is of course up to you. (nx stands here for the NeXT runtime, 
the gnus for foundation and app kit, xgps is the graphical back end)

if there remains a difference between Apples und GNUs runtime on the long 
run I don't know.

>
>
>Cheers,
>Markus
>
>
>P.S.: writing these lines, the idea came to mind there might be 
>an issue with the file system, since I was using a HFS partition 
>(case-insensitive).

this isn't an issue.

>- - - - - - - - - - - - - - - - - - -
>Dipl. Ing. Markus Hitter
>http://www.jump-ing.de/

greetings, Lars


ps. here are some instructions to build gnustep compiled by myself but a 
little bit out of date:

Downloading the required files
        Download Darwin from 
http://www.opensource.apple.com/projects/darwin/1.3/release/Darwin_1.3.1.smi.bin
        Download Xfree86 from 
ftp://ftp.xfree86.org/pub/XFree86/4.0.2/binaries/Darwin/
                be shure to download 
ftp://ftp.xfree86.org/pub/XFree86/4.0.2/binaries/Darwin/Xinstall.sh in 
binary mode!
        Go to http://www.gnustep.org/resources/source_all.html and 
download all Packages listed on the page
 ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxml/libxml2-2.3.5.tar.gz
                http://www.openssl.org/source/openssl-0.9.6.tar.gz
                http://www.openssl.org/source/openssl-engine-0.9.6.tar.gz
                ftp://ftp.gnu.org/gnu/libiconv/libiconv-1.6.1.tar.gz
 ftp://ftp.remotesensing.org/pub/libtiff/tiff-v3.5.7-alpha.tar.gz
 ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-0.9.2.tar.gz
 ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-base-0.9.4.tar.gz
 ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-gui-0.6.8.tar.gz
 ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-xgps-0.6.8.tar.gz
 ftp://ftp.gnustep.org/pub/gnustep/libs/gnustep-guile-0.9.2.tar.gz
 http://www.gnustep.it/jigs/Download.html/Download/jigs-1.2.6.tar.gz
 ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-examples-0.9.1.tar.gz
                http://www.projectcenter.ch/ProjectCenter-0.2.0.tar.gz
 ftp://ftp.gnustep.org/pub/gnustep/dev-apps/nib2gmodel-0.6.6.tar.gz
 
ftp://ftp.gnustep.org/pub/gnustep/contrib/Openstep2GNUConverter-20000717.tar.gz
                ftp://ftp.gnustep.org/pub/gnustep/libs/3DKit-0.2.0.tar.gz
 ftp://ftp.gnustep.org/pub/gnustep/libs/extensions-0.8.6.tar.gz
                ftp://ftp.gnustep.org/pub/gnustep/db/gstep-db-1.2.0.tar.gz
                ftp://ftp.gnustep.org/pub/gnustep/dgs/dgs-0.5.10.tar.gz
        Go to http://www.gnustep.org/resources/apps.html and download some 
user apps
        Download Windowmaker from 
ftp://ftp.windowmaker.org/pub/source/release/WindowMaker-0.64.0.tar.gz
        Download GWorkspace from 
http://www.gnustep.it/enrico/gworkspace/gworkspace-0.1.8.tar.gz
        Download libtiff from 
http://www.libtiff.org/tiff-v3.5.6-beta.tar.gz
 
Installing Darwin
        Install Darwin on a free Harddisk or Partition using Apples 
Installer
        Copy the other downloaded files into  a new directory on the disk 
you have Darwin installed on (you can do this in Mac OS)
Installing Xfree86
        Launch Darwin
        cd to the directory you copied the Xfree86 binaries to
        read Install
        su
        sh Xinstall.sh
        create the file .cshrc in your home directory (for instance: 
/Local/Users/Administrator/)
        add the lines:
                setenv MANPATH "${MANPATH}:/usr/X11R6/man:/usr/local/man"
                setenv PATH "${PATH}:/usr/X11R6/bin"
        to .cshrc
Making libtiff
        unpack tiff-v3.5.7-alpha.tar.gz (gunzip tiff-v3.5.7-alpha.tar.gz, 
tar -xf tiff-v3.5.7-alpha.tar)
        cd to the directory you even unpacked
        read the README
        ./configure
        make
        su
        make install
Installing gnustep-make
        unpack gnustep-make-0.9.2.tar.gz
        cd to the directory you even upacked
        read INSTALL
        replace the config.guess and config.sub with the config.guess and 
the config.sub provided by Adam Fedor
        ./configure --with-library-combo=nx-gnu-gnu-xgps 
--prefix=/opt/GNUstep
        make
        make install
        make distclean
        add the line:
                source /opt/GNUstep/System/Makefiles/GNUstep.csh
        to .cshrc
Installing gnustep-base
        unpack gnustep-base-0.9.4.tar.gz
        cd to the directory you even upacked
        read the README and INSTALL
        ./configure
        make library_combo=nx-gnu-gnu-xgps
        make library_combo=nx-gnu-gnu-xgps install
        make distclean


 
Important Sites:
        http://www.opensource.apple.com/projects/darwin/
 
        http://mrcla.com/XonX/
        http://www.xfree86.org/4.0.2/Darwin.html
 
        http://www.windowmaker.org/
 
        http://www.darwinfo.org/ports.shtml
 
        http://gnu-darwin.sourceforge.net/
        http://www.made-it.com/GNUstep/Build/
 
        http://clisp.cons.org/~haible/packages-libiconv.html
 
        http://www.projectcenter.ch/
 
        http://www.gnustep.it/enrico/gworkspace/
 
        http://www.libtiff.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]