🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42211

cross compiler library problem

#42211
From: Robert J. Brown
Date: Fri, 29 Dec 1995 00:00
28 lines
1603 bytes
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++" 

(I may have misspelled an option or two.  I am typing this from
memory.)  

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.  

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.  

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

Thanks!
--
-----------  "...  And the men went up and viewed Ai."  [Jos 7:2]  -----------
Robert Jay Brown III  rj@eli.wariat.org  http://eli.wariat.org  1 708 705-0370
Elijah Laboratories Inc;  759 Independence Drive;  Suite 5;  Palatine IL 60074
-----  M o d e l i n g   t h e   M e t h o d s   o f   t h e   M i n d  ------
Technical Details
Message-ID: <RJ.95Dec29130206@eli.wariat.org>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,5e090b95f71c7179,start
X-Google-Attributes: gid11318c,public
From: rj@eli.wariat.org (Robert J. Brown)
Subject: cross compiler library problem
Date: 1995/12/29
Message-ID: <RJ.95Dec29130206@eli.wariat.org>
X-Deja-AN: 123155204
distribution: world
organization: XNet - A Full Service Internet Provider - (708) 983-6064
newsgroups: gnu.gcc.help