This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Trouble
- From: "J. Johnston" <jjohnstn at redhat dot com>
- To: david at krt dot neobee dot net
- Cc: newlib at sources dot redhat dot com
- Date: Thu, 14 Aug 2003 13:14:44 -0400
- Subject: Re: Trouble
- Organization: Red Hat Inc.
- References: <004f01c36236$9bcbb300$5900a8c0@micronasnit.com>
Mile,
Please try configuring as follows in a fresh directory.
/YOURPATH/newlib-1.11.0/configure --prefix=`pwd` --target=mips-elf
and then run: make all-target-newlib all-target-libgloss
Note that you are specifying the top-level configure, not the configure
found in the newlib subdirectory.
In your previous note you had --norecursion and --host which you should not
specify. I assumed you were just quoting me the config.status file but just in
case, I'll be more specific. There is no linux support in newlib for mips as of yet so you should
specify mips-elf. You may need to build a mips-elf toolchain if you do not have
one already.
-- Jeff J.
Mile Davidovic wrote:
Thanks a lot. I am very thankfull for your effort.
I try "full_path/newlib/configure ...."
But it fail every time:
rm -f libm.a
rm -rf tmp
mkdir tmp
cd tmp; \
for i in math/lib.a common/lib.a machine/lib.a; do \
mips-linux-elf-ar x ../$i; \
done; \
mips-linux-elf-ar rc ../libm.a *.o
mips-linux-elf-ar: ../machine/lib.a: No such file or directory
mips-linux-elf-ranlib libm.a
Do You want to send full make.log ?
-----Original Message-----
From: J. Johnston [mailto:jjohnstn@redhat.com]
Sent: Wednesday, August 13, 2003 19:53
To: david@krt.neobee.net
Cc: newlib@sources.redhat.com
Subject: Re: Trouble
Mile,
Specify an absolute path for the configure call instead of
relative (i.e. don't put ../newlib-1.11.0/configure, put
/YOURPATH/newlib-1.11.0/configure ...)
-- Jeff J.
Mile Davidovic wrote:
Hi everybody
I have problem with building newlib-1.11.0.tar.gz
downloaded from ftp
site. This is my configure line:
../newlib-1.11.0/configure --prefix=/space/home/david/Tamis
--target=mips-linux-elf --host=sparc-sun-solaris2.8 --norecursion
This is error message:
-------------------------------------------------------------------
Making all in .
Making all in .
Making all in libm
Making all in math
Making all in common
Making all in machine
Making all in .
rm -f libm.a
rm -rf tmp
mkdir tmp
cd tmp; \
for i in math/lib.a common/lib.a machine/lib.a; do \
mips-linux-elf-ar x ../$i; \
done; \
mips-linux-elf-ar rc ../libm.a *.o
mips-linux-elf-ar: ../machine/lib.a: No such file or directory
*** Error code 9
make: Fatal error: Command failed for target `libm.a'
Current working directory
/space/home/david/n/mips-linux-elf/soft-float/newlib/libm
*** Error code 1
make: Fatal error: Command failed for target
`all-recursive' Current
working directory
/space/home/david/n/mips-linux-elf/soft-float/newlib/libm
*** Error code 1
make: Fatal error: Command failed for target
`all-recursive' Current
working directory
/space/home/david/n/mips-linux-elf/soft-float/newlib
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
Current working directory
/space/home/david/n/mips-linux-elf/soft-float/newlib
*** Error code 1
make: Fatal error: Command failed for target `multi-do'
Current working directory /space/home/david/n/mips-linux-elf/newlib
*** Error code 1
make: Fatal error: Command failed for target `all-multi'
Current working directory /space/home/david/n/mips-linux-elf/newlib
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
Current working directory /space/home/david/n/mips-linux-elf/newlib
*** Error code 1
make: Fatal error: Command failed for target `all-target-newlib'
bash-2.03$
Thanks in advance Mile