Unable to make for host=i386, target=sparc-sun-solaris
Ruslan
ruslank@softhome.net
Mon Jun 24 00:06:00 GMT 2002
Hi Indukumar,
24 Jun 2002, 9:48:47 AM, you wrote:
I> Hi,
I> I am trying to build linux(i386) to solaris(sparc) cross gcc, after
I> building/installing the bin utils, when I try to make gcc I get the
I> following error. Can some one help me with this.
I> I'm using binutils version 2.12.1, gcc version 3.1.
I> If any of you have built i386<->solaris cross gcc please send me the version
I> you used for binutils, gcc, newlib, gdb & the Linux/Solaris [Kernel]
I> version.
I> ----ERROR--------
I> /home/iilangov/tools/cross/build-gcc/gcc/xgcc -B/home/iilangov/tools/cross/b
I> uild
I> -gcc/gcc/ -B/home/iilangov/mycr/sparc-sun-solaris/bin/ -B/home/iilangov/mycr
I> /spa
I> rc-sun-solaris/lib/ -isystem
I> /home/iilangov/mycr/sparc-sun-solaris/include -DIN_
I> GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing
I> -pro
I> totypes -isystem
I> ./include -I. -I. -I../../gcc-3.1/gcc -I../../gcc-3.1/gcc/. -I
I> ../../gcc-3.1/gcc/config -I../../gcc-3.1/gcc/../include \
I> -c ../../gcc-3.1/gcc/config/sparc/gmon-sol2.c -o gmon.o
I> In file included from ../../gcc-3.1/gcc/config/sparc/gmon-sol2.c:36:
I> ../../gcc-3.1/gcc/system.h:50:19: stdio.h: No such file or directory
I> ../../gcc-3.1/gcc/system.h:112:23: sys/types.h: No such file or directory
I> ../../gcc-3.1/gcc/system.h:114:19: errno.h: No such file or directory
I> ------OMITTED--------ATTACHED THE COMPLETE AT THE END OF MAIL
I> ../../gcc-3.1/gcc/config/sparc/gmon-sol2.c: In function `internal_mcount':
I> ../../gcc-3.1/gcc/config/sparc/gmon-sol2.c:301: warning: implicit
I> declaration of
I> function `atexit'
I> ../../gcc-3.1/gcc/config/sparc/gmon-sol2.c: In function `moncontrol':
I> ../../gcc-3.1/gcc/config/sparc/gmon-sol2.c:415: warning: implicit
I> declaration of
I> function `profil'
I> make[1]: *** [gmon.o] Error 1
I> make[1]: Leaving directory `/home/iilangov/tools/cross/build-gcc/gcc'
I> make: *** [all-gcc] Error 2
I> ----END ERROR--------
I> BTW who is the owns gmon-sol2.c ?
I> any help would be of great use to me !
I> Thanks in advance,
I> Indu
I'm not a big expert but it seems like you doesn't have system
include files and libraries.
You can copy it from a Sun mashine.(/usr/include and /usr/lib)
Hope it was useful,
Ruslan.
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list