This is the mail archive of the crossgcc@sources.redhat.com 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]

Re: FW: (arm) cross compiler under Cygwin


hi everybody,

make LANGUAGES="c++"

after lots building, i have :
[...]
  ./cinst.cc -o ldcomio.o
touch bigstmp-complx
cd ../libiberty ; make "SHELL=/bin/sh" "INSTALL=/bin/sh /gcc-2.95.2-6/install-sh
-c" "INSTALL_DATA=/bin/sh /gc
c-2.95.2-6/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /gcc-2.95.2-6/install-sh
-c " "prefix=/usr/local" "e
xec_prefix=/usr/local" "tooldir=/usr/local/arm-strongarm-aout"
"gxx_include_dir=/usr/local/include/g++-3" "lib
subdir=/usr/local/lib/gcc-lib/arm-strongarm-aout/2.95.2-6" "gcc_version=2.95.2-6"
"gcc_version_trigger=/gcc-2.
95.2-6/gcc/version.c" "AR=arm-strongarm-aout-ar" "AR_FLAGS=rc"
"CC=/gcc-2.95.2-6/gcc/xgcc -B/gcc-2.95.2-6/gcc/
 -B/usr/local/arm-strongarm-aout/bin/" "CXX=/gcc-2.95.2-6/gcc/xgcc
-B/gcc-2.95.2-6/gcc/ -B/usr/local/arm-stron
garm-aout/bin/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "NM=arm-strongarm-aout-nm"
"RANLIB=arm-strongarm-aout-ranlib
" "LIBCFLAGS=-g -O2" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "LOADLIBES="
"LDFLAGS=" "MAKEINFO=/gcc-2.95.
2-6/texinfo/makeinfo/makeinfo " "SHLIB=libstdc++.so.2.10.0" "SHCURSES="
"RUNTESTFLAGS="
make[2]: Entering directory `/gcc-2.95.2-6/arm-strongarm-aout/libiberty'
make[2]: *** No targets specified and no makefile found.  Stop.
make[2]: Leaving directory `/gcc-2.95.2-6/arm-strongarm-aout/libiberty'
make[1]: *** [../libiberty/libiberty.a] Error 2
make[1]: Leaving directory `/gcc-2.95.2-6/arm-strongarm-aout/libstdc++'
make: *** [all-target-libstdc++] Error 2

i try this :
 $ cd  /gcc-2.95.2-6/arm-strongarm-aout/libiberty
$ ./configure --target=arm-strongarm-aout
loading cache ./config.cache
configure: error: can not find install-sh or install.sh in ./.. ././..

i need help, please.
somebody sees what can i do ?

/pegase
nospam_nhat.dao@philips.com (remove nospam_ to reply)

john@triscend.com a écrit :

> Hi Nhat,
>
> This is another case of missing headers. I think this fix qualifies as
> somewhat of a swag but it worked for me:
>
> # going with newlib for now
> # copy headers to include missing stdlib.h and unistd.h for libgcc2

cp-r /usr/src/newlib-1.9.0/newlib/libc/include/*  \
      /usr/local/strongarm-aout/include

>
> I used the default install destination of /usr/local, substitute whatever
> you used in --prefix. My target is arm-elf-linux. In general the destination
> of the copy is:
>
> $prefix/$target/include
>
> I think creating links to newlib in the gcc source is the recommended
> solution. I wasn't sure if that link should be created in the
> gcc-2.95.2/gcc/include dir to the newlib-1.9.0/newlib/libc/include dir. I
> think this ties in with using the --with-newlib config option. Maybe one of
> the experts can comment on this option and the specific link that should be
> created.
>
> I'm also not really sure what the default header search path is or how to
> find out. Again any expert elaboration would be greatly appreciated.
>
> Hope this helps, Bye for now...
>
> John E. A.
>
> -----Original Message-----
> From: nhat.dao@philips.com [mailto:nhat.dao@philips.com]
> Sent: Monday, March 19, 2001 9:43 AM
> To: crossgcc@sources.redhat.com; dkorn@pixelpower.com
> Subject: Re: FW: (arm) cross compiler under Cygwin
>
> ./libgcc2.c:41: stdlib.h: No such file or directory
> ./libgcc2.c:42: unistd.h: No such file or directory
> make[3]: *** [libgcc2.a] Error 1
> make[3]: Leaving directory `/gcc-2.95.2-6/gcc'
> make[2]: *** [stmp-multilib-sub] Error 2
> make[2]: Leaving directory `/gcc-2.95.2-6/gcc'
> make[1]: *** [stmp-multilib] Error 1
> make[1]: Leaving directory `/gcc-2.95.2-6/gcc'
> make: *** [all-gcc] Error 2
>
> dkorn@pixelpower.com a écrit :
>
> >   Hi again Pegase,
> >
> > >otherwise,
> > >how can i do to
> > >install the cross binutils for arm ?
> > >is it in Cygwin environment ?
> > >
> > >i have :
> > >* binutils-20001221-1.tar.gz
> > >* binutils-20001221-1-src.tar.gz
> >
> >   You need the second one, which is a snapshot of the binutils source
> > code.
> >
> >   To make and install the cross binutils is very like the procedure for
> gcc:
> >
> >  - unpack the tar.gz file into a source directory
> >  - make a build directory somewhere else and cd into it
> >  - /path/to/sourcedir/configure --target=arm-strongarm-aout
> >  - make all install
> >
> >   Then, be sure that /usr/local/bin is in your $PATH setting (or if you
> > want to use a --prefix setting for compiling binutils and gcc, make sure
> > that $prefix/bin is in $PATH).


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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