public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Need help building combined gcc/binutils/newlib
@ 2007-12-01  2:14 Rick Mann
  2007-12-02 14:45 ` Rask Ingemann Lambertsen
  0 siblings, 1 reply; 6+ messages in thread
From: Rick Mann @ 2007-12-01  2:14 UTC (permalink / raw)
  To: gcc-help

I've looked at several archive messages, and many OLD instructions,  
and I still can't quite figure out how to do a combined build of GCC  
targeting xscale-elf.

I need to do this from release tars. I downloaded gcc-4.2.1,  
binutils-2.18, and newlib-1.15.

I extract these all into one dir:

gccbuild/
   binutils-1.15/
   gcc-4.2.1/
   newlib-1.15/


Then I wasn't sure how to use the symlink-tree script, so I tried this:

cd gccbuild
mkdir src
cd src
../binutils-2.18/symlink-tree ../binutils-2.18
../binutils-2.18/symlink-tree ../newlib-1.15
../binutils-2.18/symlink-tree ../gcc-4.2.1

Then

cd ..
mkdir build
cd build
../src/configure  --prefix=/usr/local/gcctest \
                   --target=xscale-elf \
                   --enable-languages=c,c++ \
                   --with-newlib --disable-nls \
                   --disable-libssp --with-float=soft

It did a short configure, then I tried "make all".

It ran for a while, then got into a seemingly endless series of  
messages like this:

> Fatal configuration error.  See the libtool docs for more information.
> : ltconfig version `' does not match ltmain.sh version `1.4a-GCC3.0'



I suspect part of my problem is the order in which I'm running symlink- 
tree. But I could just be way off target.

Can someone please explain to me the process (or point me to a  
resource that does)? Thank you very much!

-- 
Rick

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-12-05  0:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-01  2:14 Need help building combined gcc/binutils/newlib Rick Mann
2007-12-02 14:45 ` Rask Ingemann Lambertsen
2007-12-04 22:12   ` Rick Mann
2007-12-04 23:55     ` Rask Ingemann Lambertsen
2007-12-05  0:02       ` Rick Mann
2007-12-05  0:39         ` Rask Ingemann Lambertsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).