🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42217

Re: cross compiler library problem

#42217
From: Kai Ruottu
Date: Sat, 30 Dec 1995 00:00
31 lines
1673 bytes
rj@eli.wariat.org (Robert J. Brown) wrote:

>I am trying to build gcc and g++ as follows:

>    ./configure --build=sparc-sun-sunos4.1.3 --host=sparc-sun-sunos4 \
>                --target=mips-ecoff --with-gnu-as --with-gnu-ld \
>                --use-stabs -nfp
>    make CC=gcc LANGUAGES="c c++" 

>My problem is that when the make tries to build libgcc1.a, it tries to
>include stdio.h, which tries to get other stuff, and the whole thing
>dies in mass confusion.  

 There are hints for these things in the gcc's INSTALL (Building a
cross-compiler)...  You can have a dummy libgcc1.a, so it will not
make it.

>The target is an embedded system.  This MIPS processor is a standard
>cell off in one corner of a custom ASIC.  The whole idea of
>stdin/stdout, or any other conventional file or stream I/O is
>ludicrous in this setting.  

 More hints can be found at ftp.cygnus.com, /pub/embedded (or
something like that), in the document "Embed with GNU" by Rob Savoye.
This is a texinfo-document.

>Is there a straightforward way to avoid the entire I/O package without
>major hacking on the installation files?

 Just get the Cygnus document and look the gcc's INSTALL, I think
these could help a lot...  
Technical Details
Message-ID: <4c4e47$ldv@freenet.hut.fi>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <RJ.95Dec29130206@eli.wariat.org>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,5e090b95f71c7179
X-Google-Attributes: gid11318c,public
From: karuottu@freenet.hut.fi (Kai Ruottu)
Subject: Re: cross compiler library problem
Date: 1995/12/30
Message-ID: <4c4e47$ldv@freenet.hut.fi>
X-Deja-AN: 123243137
references: <RJ.95Dec29130206@eli.wariat.org>
organization: Freenet Finland
reply-to: karuottu@freenet.hut.fi
newsgroups: gnu.gcc.help