Compiling and linking with gcc sparc 64

From
Konstantin Kuznetsov (2:5020/400)
To
All (2:5054/37.63)
Date
2005-04-07T15:11:26Z
Area
RU.UNIX.SOLARIS
From: Konstantin Kuznetsov <kkuznetsov@users.sourceforge.net>

Привет всем!
Пытаюсь собрать прогу под sparc 64

Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/specs
Configured with: ../configure
--with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.3.2

C ключами
-MMD -p -fPIC -m64 -ggdb -Wall -Wno-switch -g -O2

При линковке пишет
g++  -R/usr/local/firebird/lib
-R/usr/local/firebird/intl ../temp/boot/jrd/dsc.o
../temp/boot/jrd/gds.o ../temp/boot/jrd/isc.o
../temp/boot/jrd/dls.o ../temp/boot/jrd/isc_sync.o
../temp/boot/jrd/ThreadData.o
../temp/boot/gpre/cmd.o ../temp/boot/gpre/cme.o
../temp/boot/gpre/cmp.o ../temp/boot/gpre/c_cxx.o
../temp/boot/gpre/exp.o ../temp/boot/gpre/gpre.o
../temp/boot/gpre/hsh.o
../temp/boot/gpre/int_cxx.o
../temp/boot/gpre/jrdmet.o
../temp/boot/gpre/movg.o ../temp/boot/gpre/msc.o
../temp/boot/gpre/par.o ../temp/boot/gpre/pat.o
../temp/boot/gpre/sqe.o ../temp/boot/gpre/sql.o
../temp/boot/gpre/pretty.o
../temp/boot/gpre/gpre_meta_boot.o
../temp/boot/jrd/os/posix/config_root.o
../temp/boot/jrd/os/posix/path_utils.o
../temp/boot/jrd/os/posix/mod_loader.o
../temp/boot/jrd/os/posix/fbsyslog.o
../temp/boot/jrd/os/posix/guid.o
../temp/boot/jrd/os/posix/isc_ipc.o -o
../gen/firebird/bin/gpre_boot
-L../gen/firebird/lib -lfbcommon  -lthread
-lsocket -lstdc++ -lcurses -lm -lc -ldl  -lnsl
-leditline -ltermcap
ld: fatal: file ../temp/boot/jrd/dsc.o: wrong ELF
class: ELFCLASS64
ld: fatal: File processing errors. No output
written to ../gen/firebird/bin/gpre_boot
collect2: ld returned 1 exit status


Может подскажете в чем дело?


Константин Кузнецов

-- 
Konstantin Kuznetsov
www.FirebirdSQL.org
Отправлено через сервер Форумы@mail.ru - http://talk.mail.ru
--- ifmail v.2.15dev5.3
 * Origin: Talk.ru (2:5020/400)
SEEN-BY: 46/50 50/203 520 450/159 186 1024 451/30 461/640 469/999 4625/8
SEEN-BY: 4627/10 5000/76 5000 5006/1 5007/1 5010/70 5011/13 5015/10 5020/52
SEEN-BY: 5020/118 175 194 400 545 715 758 845 902 937 1042 1523 1604 1922 2020
SEEN-BY: 5020/2238 4441 5021/29 5022/128 5025/3 750 5026/45 5027/16 5030/49
SEEN-BY: 5030/115 556 966 1900 5031/72 5035/3 5036/1 5051/15 5054/1 4 8 9 28
SEEN-BY: 5054/35 37 5057/1 5060/88 5061/15 5062/1 10 5066/18 5067/2 5069/7
SEEN-BY: 5070/1222 5074/9 5075/5 35 5080/80 1003 5081/2 5082/6 5083/21 5085/13
SEEN-BY: 5090/113 5093/57 5095/20 5096/18 6000/254 6001/3
PATH: 5020/400 4441 545 5054/1 37