[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Q] GNUstep Solaris 64 bit configuration
From: |
Vaisburd, Haim |
Subject: |
RE: [Q] GNUstep Solaris 64 bit configuration |
Date: |
Thu, 30 Mar 2006 10:50:09 -0800 |
Adam Fedor wrote:
> > Linking subproject Additions ...
> > <path-to-ld>/ld: Relocatable linking with relocations from format
> > elf64-sparc (shared_obj/GSCategories.o) to format elf32-sparc
> > (./shared_obj/subproject.o) is not supported
> > collect2: ld returned 1 exit status
> Can you show the output with
>
> make messages=yes
Hm, I need to learn the make system ;)
The compilation took my flags:
gcc Unicode.m -c [...] -m64 -mcpu=v9 [...] -o shared_obj/Unicode.o
but the "object merge" (?) did not:
gcc -nostdlib -r [...] -o ./shared_obj/subproject.o <objects>
<path-to-ld>/ld: Relocatable linking with relocations from format
elf64-sparc
(shared_obj/GSCategories.o) to format elf32-sparc
(./shared_obj/subproject.o) is not supported
The problem was that I compiled and installed the _make_ package with
CFLAGS="-m64 -mcpu=v9" ./configure
rather than
CC="gcc -m64 -mcpu=v9" ./configure
Apparently it makes a difference, as my config.make in GNUstep
system area (I discovered this file only now) held
CC = gcc
OPTFLAG = -m64 -mcpu=v9
Changind those variables to
CC = gcc -m64 -mcpu=v9
OPTFLAG =
solved the problem.
Thank you, Adam.
Tima.