I found out how to build `ar`. The suggested script to do this:
#!/bin/sh
MAKE_PROG="${MAKE-make}"
MAKE="${MAKE_PROG} AR=true LINK=true"
export MAKE
${MAKE} $* all-libiberty
${MAKE} $* all-intl
${MAKE} $* all-bfd
cd binutils
MAKE="${MAKE_PROG}"
export MAKE
${MAKE} $* ar_DEPENDENCIES= ar_LDADD='../bfd/*.o `cat ../libiberty/required-list
../libiberty/needed-list |sed -e "s,\([^ ][^ ]*\),../libiberty/\1,g"` `if test
-f ../intl/gettext.o; then echo '../intl/*.o'; fi`' ar
I set MAKE=gmake and ran script but it does not work. I get
error
[ snip - tail end of stdout ]
ame.o ../intl/finddomain.o
../intl/gettext.o
../intl/intl-compat.o
../intl/l10nflist.o
../intl/loadmsgcat.o
../intl/localealias.o
../intl/textdomain.o
Undefined first referenced symbol in file mkstemps
../libiberty/make-temp-file.o
ar: fatal error: Symbol referencing errors. No output
written to ar
collect2: ld returned 1 exit status
gmake: *** [ar] Error 1
Can any one see anything wrong with above script? Is this error caused by a missing library or possibly permission related?
Thank you all in advance!
Jose Lerebours
KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
#!/bin/sh
MAKE_PROG="${MAKE-make}"
MAKE="${MAKE_PROG} AR=true LINK=true"
export MAKE
${MAKE} $* all-libiberty
${MAKE} $* all-intl
${MAKE} $* all-bfd
cd binutils
MAKE="${MAKE_PROG}"
export MAKE
${MAKE} $* ar_DEPENDENCIES= ar_LDADD='../bfd/*.o `cat ../libiberty/required-list
../libiberty/needed-list |sed -e "s,\([^ ][^ ]*\),../libiberty/\1,g"` `if test
-f ../intl/gettext.o; then echo '../intl/*.o'; fi`' ar
I set MAKE=gmake and ran script but it does not work. I get
error
[ snip - tail end of stdout ]
ame.o ../intl/finddomain.o
../intl/gettext.o
../intl/intl-compat.o
../intl/l10nflist.o
../intl/loadmsgcat.o
../intl/localealias.o
../intl/textdomain.o
Undefined first referenced symbol in file mkstemps
../libiberty/make-temp-file.o
ar: fatal error: Symbol referencing errors. No output
written to ar
collect2: ld returned 1 exit status
gmake: *** [ar] Error 1
Can any one see anything wrong with above script? Is this error caused by a missing library or possibly permission related?
Thank you all in advance!
Jose Lerebours
KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours