On Wed, Feb 07, 2001 at 08:23:15PM +0100, Tim ter Laak wrote: > Hello, > > First I'd like to apologize if this is too off-topic for this list, but I > think it more likely to find someone here who has run into the same > problem than on a gcc list. > > I managed to install a Sparc IPC for booting and root system over the > network. However, TFTP is painfully slow and I think a custom kernel will > only be about half as large as the standard Debian potato kernel. > The problem is I need a cross compiler to build it on my intel > workstation, since a sparc ipc with 12 mb ram and no swap won't do the > job. The cross-platform binutils will compile and install fine, but the > gcc compilation halts because of missing .h files. I've tried several > gcc's (2.95.2.1, 2.95.2, 2.8.1) but all have the same problem, though > 2.8.1 on another place than the other two. > > Am I completely missing something (then it probably should be added to the > crossgcc faq), is this cross broken or is it something else?
Use the dpkg-cross package. There is a script in there to convert libc6/libc6-dev for sparc to an i386 cross package (installs in /usr/sparc-linux/). You need this in order to build the cross compiler, IIRC. -- -----------=======-=-======-=========-----------=====------------=-=------ / Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \ ` [EMAIL PROTECTED] -- [EMAIL PROTECTED] -- [EMAIL PROTECTED] ' `---=========------=======-------------=-=-----=-===-======-------=--=---'