This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Error in making newlib on MinGW


Hi, all.
i am japnese. sorry for my bad English.

i tried making closs compiler on MinGW.
but i failed making newlib.

MinGW is installed by MinGW-5.1.3.exe
build system type   : i686-pc-mingw32
host system type   : i686-pc-mingw32
target system type : arm-unknown-elf

i refer this site.
http://www.mingw.org/MinGWiki/index.php/mingw%20hosted%20cross%20compiler

i was running shell script Building and installing newlib.
bellow is shell script.
--------------------------------------------------------------------
#---------------------------------------------------------------------------------
# Source and Install directories
#---------------------------------------------------------------------------------

SRCDIR=/c/gcc-source/newlib-1.12.0   # the sourcecode dir for newlib
prefix=/c/cross-gcc/arm-elf          # installation directory
#---------------------------------------------------------------------------------
# set the path for the installed binutils and C compiler
#---------------------------------------------------------------------------------

export PATH=${PATH}:/c/cross-gcc/arm-elf/bin

#---------------------------------------------------------------------------------
# set target and compiler flags
#---------------------------------------------------------------------------------

target=arm-elf

export CFLAGS='-O2 -pipe'
export CXXFLAGS='-O2 -pipe'
export LDFLAGS='-s'
export DEBUG_FLAGS=''

#---------------------------------------------------------------------------------
# Build and install newlib
#---------------------------------------------------------------------------------

mkdir -p $target/newlib
cd $target/newlib

$SRCDIR/configure\
       --target=$target --prefix=$prefix \
       2>&1 | tee newlib_configure.log

make all 2>&1 | tee newlib_make.log
make install 2>&1 | tee newlib_install.log
--------------------------------------------------------------------

but `make all' happened error.
bellow is error message.
-----------------------------------------------------------------------
make[3]: Entering directory `/home/h-hiroshi/build/arm-elf/ARM7TDMI/newlib/etc'
/C/msys/1.0/home/h-hiroshi/newlib-1.15.0/missing makeinfo --split-size=5000000 --split-size=5000000 --no-split -I/C/msys/1.0/home/h-hiroshi/newlib-1.15.0/etc -o standards.info /C/msys/1.0/home/h-hiroshi/newlib-1.15.0/etc/standards.texi
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
make[3]: *** [standards.info] Error 1
make[3]: Leaving directory `/home/h-hiroshi/build/arm-elf/ARM7TDMI/newlib/etc'
make[2]: *** [info] Error 1
make[2]: Leaving directory `/home/h-hiroshi/build/arm-elf/ARM7TDMI/newlib/etc'
make[1]: *** [all-etc] Error 2
make[1]: Leaving directory `/home/h-hiroshi/build/arm-elf/ARM7TDMI/newlib'
make: *** [all] Error 2
make[1]: Entering directory `/home/h-hiroshi/build/arm-elf/ARM7TDMI/newlib'
/bin/sh /C/msys/1.0/home/h-hiroshi/newlib-1.15.0/mkinstalldirs /C/msys/1.0/local/cross-compile/arm-elf/ARM7TDMI /C/msys/1.0/local/cross-compile/arm-elf/ARM7TDMI
make[2]: Entering directory `/home/h-hiroshi/build/arm-elf/ARM7TDMI/newlib/etc'
for f in standards.info configure.info; do \
if test -f /C/msys/1.0/home/h-hiroshi/newlib-1.15.0/etc/`echo $f | sed -e 's/.info$/.texi/'`; then \
if make "MAKEINFO=/C/msys/1.0/home/h-hiroshi/newlib-1.15.0/missing makeinfo --split-size=5000000 --split-size=5000000" $f; then \
true; \
else \
exit 1; \
fi; \
fi; \
done
make[3]: Entering directory `/home/h-hiroshi/build/arm-elf/ARM7TDMI/newlib/etc'
/C/msys/1.0/home/h-hiroshi/newlib-1.15.0/missing makeinfo --split-size=5000000 --split-size=5000000 --no-split -I/C/msys/1.0/home/h-hiroshi/newlib-1.15.0/etc -o standards.info /C/msys/1.0/home/h-hiroshi/newlib-1.15.0/etc/standards.texi
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
make[3]: *** [standards.info] Error 1
make[3]: Leaving directory `/home/h-hiroshi/build/arm-elf/ARM7TDMI/newlib/etc'
make[2]: *** [info] Error 1
make[2]: Leaving directory `/home/h-hiroshi/build/arm-elf/ARM7TDMI/newlib/etc'
make[1]: *** [install-etc] Error 2
make[1]: Leaving directory `/home/h-hiroshi/build/arm-elf/ARM7TDMI/newlib'
make: *** [install] Error 2


-----------------------------------------------------------------------

please help me. and please tell me rightway for making newlib on MinGW.

--------------------------------------
New Design Yahoo! JAPAN  2008/01/01
http://pr.mail.yahoo.co.jp/newdesign/

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]