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]

linux i486 -> sparc-solaris2.7 build problems


Hi,

I was hoping someone could help me with a problem building a cross
compiler for host=i486-pc-linux, target=sparc-sun-solaris2.7
I have looked through archives but didn't seem to find an answer.

0. Got over the MAX_PATH thingy.

1. When in build-gcc/sparc-sun-solaris2.7/libio:

In file included from ../../../gcc-2.95.2/libio/iofscanf.c:25:
../../../gcc-2.95.2/libio/libioP.h:30: errno.h: No such file or
directory

So I added -Ipath_to_solaris_headers (configure didn't seem to do this)

But then I get the following error:
../../../gcc-2.95.2/libio/iofscanf.c: In function IO_fscanf':
../../../gcc-2.95.2/libio/iofscanf.c:44: _builtin_va_alist' undeclared 
(first use in this function)
(Each undeclared identifier is reported only once
for each function it appears in.)

I am a bit unsure what to do here.

2. Sorry for a dumb question, but the sun identification program 
gives SunOS 5.7, but MACHTYPE gives sparc-sun-solaris2.7 Are they
the same?

3. Although I am compiling this to use on a i486, I am using a k6
to build the cross gcc. Why then does configure seem to ignore 
i486-pc-linux and use i586 (worried I will be unable to use it)

I am following the cross gcc faq. For both the ix86 host and the 
target source, I have binutils_2.9.5.0.22 (hopefully the 
2.9.1/solaris bug is fixed) and gcc_2.95.2. on a mouldy debian potato.

Thanks for reading,
Mark.

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