Thread View: fj.sys.ews4800
2 messages
2 total messages
Started by bernhard minks
Mon, 20 Aug 2001 10:19
compile of binutils failed
Author: bernhard minks
Date: Mon, 20 Aug 2001 10:19
Date: Mon, 20 Aug 2001 10:19
23 lines
1551 bytes
1551 bytes
Hi, I have to build the binutils on the EWS 4800. so I tried to compile the current version of the binutils (2.11.2), but i got some errors like /user/bminks/test/mips-nec-sysv4.2MP/bin/as: unrecognized option `-Kopt=1' The compiler tried to call the assambler with a option, that the compiler don't know. Maybe it's only an error in the spec-file of the compiler (I use gcc 2.95.2). On the UX/4800 Compile Memo Page I found a memo about compiling the binutils (http://members.nbci.com/ux4800/memo/binutils-2.9.1.ews.inst). In the memo, the source is patched by a patchfile (binutils-2.9.1.ews.patch), but i don't find this patchfile on the internet. Does anybody know help? please answer in english! thx cu Bernhard
Re: compile of binutils failed
Author: Takashi Hirakawa
Date: Tue, 28 Aug 2001 01:57
Date: Tue, 28 Aug 2001 01:57
57 lines
2730 bytes
2730 bytes
Hi,
bernhard.minks@gmx.de wrote:
>> I have to build the binutils on the EWS 4800. so I tried to compile the
>> current version of the binutils (2.11.2), but i got some errors like
>>
>> /user/bminks/test/mips-nec-sysv4.2MP/bin/as: unrecognized option `-Kopt=1'
>>
>> The compiler tried to call the assambler with a option, that the compiler
>> don't know. Maybe it's only an error in the spec-file of the compiler
>> (I use gcc 2.95.2).
Your guess is right, I think, then the problem may be at the compiler
gcc 2.95.2 installed. How did you install it?
I got same kind of error about '-Kopt' with gcc 2.95.2, and reinstalled gcc
2.95.2 with the following patch. It removed the error.
ftp://cello.ipc.akita-u.ac.jp:/pub/EWS4800/GNU/gcc-2.95.x/
gcc-2.95.2-nec.new.diff
Here's log of the install process
% gtar zxf gcc-2.95.2.tar.gz
% set path=(/usr/abiccs/bin /usr/bin /usr/local/bin)
% setenv LANG C
% setenv TMPDIR /usr/prj/1/tmp
% patch -p1 < ../gcc-2.95-nec-new.diff
!! Edit sample32.config so that
!! PREFIX=/usr/local/gcc-2.95.2
% sh sample32.config
% cd libiberty; gmake; cd ..
% cd texinfo; gmake; cd ..
% cd gcc
% chmod u+x MAKE-32bit
% ./MAKE-32bit 0
% gmake stage1 |& tee stage1.log
!! Error occurs but, ignored.
% ./MAKE-32bit 1
% gmake stage2 |& tee stage2.log
!! Error occurs but, ignored.
% (cd ..; ln -s gcc stage2)
% ./MAKE-32bit 2
% ./MAKE-32bit i
% set path=(/usr/local/bin/GNU $path)
% cd ..
!! Edit sample32.config so that
!! PREFIX=/usr/local/gcc-2.95.2
!! CC=/usr/local/bin/GNU/gcc
!! CXX=/usr/local/bin/GNU/g++
!! --bindir=$PREFIX/bin
% sh sample32.config
% gmake
% gmake install
Hope this helps.
Takashi Hirakawa
takashi@pobox.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads