discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Compiling GNUstep on darwin (again)


From: Markus Hitter
Subject: Re: Compiling GNUstep on darwin (again)
Date: Tue, 16 Jul 2002 10:59:50 +0200

Am Dienstag den, 16. Juli 2002, um 06:43, schrieb John Pell:

I was told to download gcc3 from darwin CVS by someone from the list, but i can't figure out how to compile it with the strings in the GNUstep-HOWTO file <i>and</i> the strings in the README.apple, maybe I'm just missing it.

This is what I used last time, about 3 month ago:

    # (cd to gcc's dir)
    mkdir -p build
    cd build
mv ../gcc3/GNUmakefile ../gcc3/GNUmakefile.org # GNUmakefile implements the Apple-ish way export CC="gcc -no-cpp-precomp" # in case you're already using gcc3
    rm -rf *; ../gcc3/configure --prefix=/usr/global --enable-
languages=objc
    make bootstrap
    sudo make install

There was another description from Justin C. Walker on Apple's gcc3 list.


 here is the output from my attempt at gnustep-gui using gcc2.

/usr/bin/ld: can't locate file for: -lgnustep-gui
make[2]: *** [libgmodel.bundle/powerpc/darwin5/nx-gnu-
gnu/libgmodel] Error 1
make[1]: *** [libgmodel.all.bundle.variables] Error 2
make: *** [internal-all] Error 2

What does a

    find / -name libgnustep-gui.\* -print 2>/dev/null

give you?


above this it says:

Making all for library libgnustep-gui...
Linking library libgnustep-gui ...
ld: -undefined error must be used when -twolevel_namespace is in effect
/usr/bin/libtool: internal link edit command failed

adding -force_flat_namespace to CFLAGS might be of help here.


Have fun,
Markus

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





reply via email to

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