This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Building a Toolchain
- From: "Ramapriya Rangachar" <ramapriya1 at hotmail dot com>
- To: jecer at rational dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Sun, 10 Feb 2002 04:01:38 +0000
- Subject: RE: [ECOS] Building a Toolchain
- Bcc:
HI
This is to do with cygwin again ...
I built the arm tools in the following order:
binutils, gcc, newlib, insight.
Did I do something wrong here (in terms of order)?
I'm trying to make a C++ project. I get linker errors about undefined
references to math fns, memset(), free() etc.
OK, it cannot find the libraries ...
Since I installed newlib, I give a -LC:\cygwin\usr\local\arm-elf\lib
to the linker .... 'cos I see run-time and libs there ...
Still no go.
How do I fix this? and can I update the env with the path to whereever
newlib is?
Thanks
Ram
>From: "Ecer, Jiri" <jecer@rational.com>
>To: 'Ramapriya Rangachar' <ramapriya1@hotmail.com>
>Subject: RE: [ECOS] Building a Toolchain
>Date: Fri, 1 Feb 2002 13:20:25 -0500
>
>It's possible that you haven't installed the Cygwin package that contains
>makeinfo. I don't know what package it is though. Once you find out, update
>your Cygwin installation. Once that is done, it should work (you won't have
>to change the path).
>
>Jiri
>
>-----Original Message-----
>From: Ramapriya Rangachar [mailto:ramapriya1@hotmail.com]
>Sent: February 1, 2002 12:49 PM
>To: jecer@Rational.Com
>Subject: RE: [ECOS] Building a Toolchain
>
>
>HI
>
>How do I know what path to include ???
>
>To elaborate, I'm trying to build an ARM toolchain on Cygwin - not for ECOS
>(which built OK when I was using it ...). Basically, I'm trying to see if
>we
>
>can build/test an alternate toolchain for the ARM Developer Suite.
>
>I built a shell-script based on the ECOS ... the path exporting I used is
>similar to the ECOS procedure ...
>
>Ram
>
>
> >From: "Ecer, Jiri" <jecer@rational.com>
> >To: 'Ramapriya Rangachar' <ramapriya1@hotmail.com>
> >Subject: RE: [ECOS] Building a Toolchain
> >Date: Fri, 1 Feb 2002 09:38:42 -0500
> >
> >Ramapriya,
> >
> >it looks like you don't have makeinfo on your path. Put the directory
>it's
> >in on your path, and the error should go away.
> >
> >Jiri
> >
> >-----Original Message-----
> >From: Ramapriya Rangachar [mailto:ramapriya1@hotmail.com]
> >Sent: January 31, 2002 11:24 PM
> >To: ecos-discuss@sourceware.cygnus.com
> >Subject: [ECOS] Building a Toolchain
> >
> >
> >HI All
> >
> >I'm not sure if this question is within the scope of this list ....
> >But, I'm hoping that someone can point me in the right direction ...
> >
> >I need to build a cross-toolchain for the ARM.
> >The host is Cygwin + Win2K.
> >
> >I've tried using:
> > binutils-20011002-1-src.tar.bz2
> > gcc-2.95.3-5-src.tar.bz2
> > insight-5.1.1.tar.gz
> >which I downloaded using the Cygwin setup program.
> >
> >binutils and Insight build without a problem. But GCC does not build.
> >
> >Here is a snippet of the build output:
> >________________________________________________________________________if
> >[
> >
> >-f lang-f77 ]; then \
> > gcc -DCROSS_COMPILE -DIN_GCC -g -O2 -DHAVE_CONFIG_H -o g77.exe
> >gcc.o
> >
> >g77
> >spec.o g77version.o \
> > version.o prefix.o intl.o obstack.o -ladvapi32
> >../libiberty/libiberty.
> >a; \
> >else true; fi
> >if [ -f lang-f77 ]; then \
> > rm -f g77-cross.exe; \
> > cp g77.exe g77-cross.exe; \
> >else true; fi
> >makeinfo -I/usr/src/gcc/gcc-2.95.3-5/gcc -o cpp.info
> >/usr/src/gcc/gcc-2.95.3-5
> >/gcc/cpp.texi
> >makeinfo: not found
> >make[1]: *** [cpp.info] Error 127
> >make[1]: Leaving directory `/tmp/build/gcc/gcc'
> >make: *** [all-gcc] Error 2
> >make: Leaving directory `/tmp/build/gcc'
> >________________________________________________________________________
> >
> >Do I need a patch ???? I have a feeling I do ... not sure where to find
>it
> >though.
> >
> >I tried gcc-2.95.2.tar.bz2 and gcc-2.95.2-diff-991022 from Handhelds.org.
> >But the patch does not seem to apply ....
> >
> >Any help is greatly appreciated.
> >
> >
> >Thanks
> >Ram
> >
> >
> >
> >
> >
> >_________________________________________________________________
> >MSN Photos is the easiest way to share and print your photos:
> >http://photos.msn.com/support/worldwide.aspx
>
>
>
>
>_________________________________________________________________
>Join the world's largest e-mail service with MSN Hotmail.
>http://www.hotmail.com
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com