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

See the CrossGCC FAQ for lots more infromation.


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

sparc-sun-solaris2.5.1 -> sparc-sun-solaris2.7



Hi everybody,

I am trying to cross-compile gcc from sparc-sun-solaris2.5.1 to
sparc-sun-solaris2.7. I am following the example in page 6 of CrossGCC
(http://sourceware.cygnus.com/ml/crossgcc for example). I already 
cross-compiled (apparently) binutils-2.9.1. When I try to cross-compile
gcc-2.95.2 according to the rules in CrossGCC:

>cd ../build-gcc
>../gcc-2.95.2/confugure --target=sparc-sun-solaris2.7 -prefix=/home2/users/fernando/gcc-galois -v
>make all instal

... at some point the make-message says:

/bin/sh ./fixinc.sh `pwd`/include /home2/users/fernando/gcc-galois/sparc-sun-solaris2.7/sys-include 
Building fixed headers in /home2/users/fernando/gcc-cross/build-gcc/gcc/include
./fixinc.sh: /home2/users/fernando/gcc-galois/sparc-sun-solaris2.7/sys-include: does not exist
make[1]: *** [stmp-fixinc] Error 1
make[1]: Leaving directory `/home2/users/fernando/gcc-cross/build-gcc/gcc'
make: *** [all-gcc] Error 2

In summary, the problem is that apparently 'make' looks for headers in a 
subdirectory called '$prefix/sparc-sun-solaris/sys-include' which does not 
exist, ie, it has not been previously created by 'make' itself.

Trying to trick 'make', I copied the contents of /usr/include to the named 
place  where 'make' looks for the headers, but although it continued doing 
ok, it stops later again because it doest not find again other files. My
trick-fix probably didn't do anything. 

Any help? Please.

	Fernando



------
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]