swarm-support
[Top][All Lists]
Advanced

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

Re: crossed ABIs


From: Jonathan Impett
Subject: Re: crossed ABIs
Date: Wed, 24 Mar 1999 10:46:13 +0000

    Thanks - it is indeed on an IRIX6.5 machine.
    The /etc/compiler.defaults file does contain
"-DEFAULT:abi=n32:isa=mips4:proc=r5k", and all of the files I queried
(including all the swarm demos) are n32, mips4. Hence I think gcc is
doing the right thing.
    I append below the results of my trying to make the galib demos. The
problem seems to arise at linking; something doesn't know it should be
looking in the n32 libs (/lib32). This is analogous to the problem I had
in making the swarm demos originally, that I had to solve with a link to
the appropriate xpmlib. Might there be some standard swarm line I should
amend? How do I check exactly from where this erroneous call was made?
    Thanks again,
    Jonathan

Jonathan Impett
Faculty of Music
University of Cambridge
West Road
Cambridge CB3 9DP
UK

tel/fax: (+44) (0)1954 250192
address@hidden


sg 5# cd /usr/local/Breeder-1.4.1
sg 6# gmake
test -d ga || ln -s . ga
gcc -c -Wno-import -Wno-protocol -O2  -I/usr/local/include BinChrom.m
gcc -c -Wno-import -Wno-protocol -O2  -I/usr/local/include
PopBatchSwarm.m
gcc -c -Wno-import -Wno-protocol -O2  -I/usr/local/include PopObsSwarm.m

gcc -c -Wno-import -Wno-protocol -O2  -I/usr/local/include PopSwarm.m
rm -f libga.a
ar q libga.a BinChrom.o PopBatchSwarm.o PopObsSwarm.o PopSwarm.o
ar: Warning: creating libga.a

: libga.a
sg 7# file PopSwarm.o
PopSwarm.o:     ELF N32 MSB mips-4 relocatable MIPS - version 1
sg 8# gmake gademo
gcc -c -Wno-import -Wno-protocol -O2  -I/usr/local/include gademo.m
/usr/local/bin/libtool-swarm --mode link gcc -O2 -L/usr/local/lib -rpath
/usr/local/lib -L/lib -L/usr/local/lib -L/usr/local/lib -L/lib -rpath
/lib -L/usr/local/swarm-1.4/xpm/lib -rpath /usr/local/swarm-1.4/xpm/lib
-L/lib -L/lib -o gademo gademo.o BinChrom.o PopBatchSwarm.o
PopObsSwarm.o PopSwarm.o -lspace -lanalysis -lsimtools -lsimtoolsgui
-ltkobjc -ltclobjc -lactivity -lrandom -lobjectbase -lcollections
-ldefobj -lmisc -lBLT -ltk8.0 -ltcl8.0 -lXpm -lpng -lz -lffi -lX11 -lm
-lobjc -ldl
gcc -O2 -L/usr/local/lib -L/lib -L/usr/local/lib -L/usr/local/lib -L/lib
-L/usr/local/swarm-1.4/xpm/lib -L/lib -L/lib -o gademo gademo.o
BinChrom.o PopBatchSwarm.o PopObsSwarm.o PopSwarm.o -lspace -lanalysis
-lsimtools -lsimtoolsgui -ltkobjc -ltclobjc -lactivity -lrandom
-lobjectbase -lcollections -ldefobj -lmisc -lBLT -ltk8.0 -ltcl8.0 -lXpm
-lpng -lz -lffi -lX11 -lm -lobjc -ldl -Wl,-rpath -Wl,/usr/local/lib
-Wl,-rpath -Wl,/lib -Wl,-rpath -Wl,/usr/local/swarm-1.4/xpm/lib
ld32: WARNING 84: /usr/local/lib/libspace.a is not used for resolving
any symbol.
ld32: WARNING 84: /usr/lib32/libdl.so is not used for resolving any
symbol.
ld32: FATAL 12: Expecting n32 objects: /lib/libc.so.1 is o32.
gmake: *** [gademo] Error 1
sg 9# file gademo.o
gademo.o:       ELF N32 MSB mips-4 relocatable MIPS - version 1



                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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