discuss-gnustep
[Top][All Lists]
Advanced

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

Re: *Any* way to getting GNUstep on a G4 ???


From: Uli Kusterer
Subject: Re: *Any* way to getting GNUstep on a G4 ???
Date: Thu, 28 Oct 2004 17:31:33 +0200
User-agent: MT-NewsWatcher/3.4 (PPC Mac OS X)

In article <address@hidden>,
 Adam Fedor <address@hidden> wrote:

> Here's my setup:
> 
> 1. compile gcc 3.3.2.  I could probably send it to you if you want.

Trying that. I downloaded GCC-3.3.2 and untarred gcc-core and gcc-objc. 
Then I did a configure on them:

Uli-Kusterers-Computer:~/GNUstep DLs/gcc332 ulikusterer$ 
../gcc-3.3.2/configure

where ~/GNUstep DLs/gcc-3.3.2 is the unpacked stuff, and gcc332 is my 
destination directory. That seemed to work fine.

Then I tried to make it:

Uli-Kusterers-Computer:~/GNUstep DLs/gcc332 ulikusterer$ make 
bootstrap-lean
Bootstrapping the compiler
make AR_FOR_TARGET="ar" \
        RANLIB_FOR_TARGET="ranlib" \
        CC="gcc" libdir=/usr/local/lib LANGUAGES="c " \
        CFLAGS="-g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0" 
MAKEINFO="makeinfo --no-split" \
        MAKEINFOFLAGS="" COVERAGE_FLAGS=
TM_DEFINES="" \
HEADERS="auto-host.h ansidecl.h  rs6000/rs6000.h darwin.h 
rs6000/darwin.h defaults.h" XM_DEFINES="" \
TARGET_CPU_DEFAULT="" \
/bin/sh ../../gcc-3.3.2/gcc/mkconfig.sh config.h
TM_DEFINES="" \
HEADERS="auto-host.h ansidecl.h  rs6000/rs6000.h darwin.h 
rs6000/darwin.h defaults.h" XM_DEFINES="" \
TARGET_CPU_DEFAULT="" \
/bin/sh ../../gcc-3.3.2/gcc/mkconfig.sh hconfig.h
make[2]: *** No rule to make target 
`../../gcc-3.3.2/gcc/../include/ansidecl.h', needed by `gengenrtl.o'.  
Stop.
make[1]: *** [stage1_build] Error 2
make: *** [bootstrap-lean] Error 2

Any idea what's the problem here?

> 2. Compile and install libffi from the gcc 3.3.2 installation

 On a hunch, I tried unpacking gcc-3.3.2 and compiling that, instead of 
core and objc. Here's what I did, with the errors I got between << and 
>>:

1) Download gcc-3.3.2.tar.gz from gcc.gnu.org and untar it using tar 
xfvz gcc-3.3.2.tar.gz
2) Create a folder "gcc332" into which we will build
3) cd into gcc332, then run ../gcc-3.3.2/configure
<< ../gcc-3.3.2/configure: line 600: [: /Users/ulikusterer/GNUstep: 
binary operator expected
*** This configuration is not supported in the following subdirectories:
     target-libffi target-boehm-gc target-zlib target-libjava
    (Any other directories should still work fine.)
Created "Makefile" in /Users/ulikusterer/GNUstep DLs/gcc332
. . .
../gcc-3.3.2/configure: line 1591: cd: /Users/ulikusterer/GNUstep: No 
such file or directory >>
4) make bootstrap-lean
<< /bin/sh: line 1: [: /Users/ulikusterer/GNUstep: binary operator 
expected
/bin/sh: line 1: [: /Users/ulikusterer/GNUstep: binary operator expected
. . . >>

I got lots more errors like that last one, then I got some compiler 
output (mostly warnings that could be unimportant) but then it fails at:

<<make[2]: Nothing to be done for `all'.
Bootstrapping the compiler
/bin/sh: line 1: cd: gcc: No such file or directory
make: *** [bootstrap-lean] Error 1>>

> 3. Then I installed any extra libraries needed via fink (see the 
> README.Darwin) and FinkCommander.app
> 4. Compile and install GNUstep
> 
> If you have a problem with a particular step, send me the error 
> messages and I can look at them.

Here they are. I've looked through the docs on configuring and building 
GCC on their web site, but they assume you already know which parts of 
GCC are what and which you need and which you don't... Sadly, I don't 
know that. What *do* I want, besides an ObjC compiler that compiles 
GNUstep on Darwin, I mean.

I'm feeling really stupid here,
-- Uli
http://www.zathras.de


reply via email to

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