delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/01/01:33:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 01 Apr 2003 11:54:39 +0530 (IST)
From: "babu" <babu AT altosys DOT co DOT in>
To: cygwin AT cygwin DOT com
Subject: Fwd: cossgcc hosted on CYGWIN : glibc and gcc errors
MIME-Version: 1.0
Message-Id: <E190FQl-00082I-00@smtp.net4india.com>

--------MAIL4INDIA-MIME_-yS5s0Gw2Tqw1049178281-
Content-Type: text/plain




-------Original Message------


--------MAIL4INDIA-MIME_-yS5s0Gw2Tqw1049178281-
Content-Type: message/rfc822

Received: by newstorage.net4india.com (mbox f9029651-71)
 (with Cubic Circle's cucipop (v1.31 1998/05/13) Tue Apr  1 12:04:41 2003)
X-From_: binutils-return-25135-babu=altosys DOT co DOT in AT sources DOT redhat DOT com Tue Apr 01 12:21:19 2003
Return-path: <binutils-return-25135-babu=altosys DOT co DOT in AT sources DOT redhat DOT com>
Envelope-to: babu AT altosys DOT co DOT in
Delivery-date: Tue, 01 Apr 2003 12:21:19 +0530
Received: from [66.187.233.205] (helo=sources.redhat.com)
	by pop.net4india.com with smtp (Exim 4.10)
	id 190Fc5-000677-00
	for babu AT altosys DOT co DOT in; Tue, 01 Apr 2003 12:21:18 +0530
Received: (qmail 27600 invoked by alias); 1 Apr 2003 06:30:16 -0000
Mailing-List: contact binutils-help AT sources DOT redhat DOT com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:binutils-unsubscribe-babu=altosys DOT co DOT in AT sources DOT redhat DOT com>
List-Subscribe: <mailto:binutils-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/binutils/>
List-Post: <mailto:binutils AT sources DOT redhat DOT com>
List-Help: <mailto:binutils-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: binutils-owner AT sources DOT redhat DOT com
Delivered-To: mailing list binutils AT sources DOT redhat DOT com
Received: (qmail 27561 invoked from network); 1 Apr 2003 06:30:14 -0000
Received: from unknown (HELO smtp.net4india.com) (202.71.129.87)
  by sources.redhat.com with SMTP; 1 Apr 2003 06:30:14 -0000
Received: from [202.71.129.119] (helo=net4india.com)
	by smtp.net4india.com with smtp (Exim 3.36 #1)
	id 190FON-000810-00
	for binutils AT sources DOT redhat DOT com; Tue, 01 Apr 2003 12:07:07 +0530
Received: from [202.144.57.225] (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210)
	by websmtp.net4india.com via HTTP webmail (WebMail4India version v2.2 on net4india.com)
Date: Tue, 01 Apr 2003 11:52:13 +0530 (IST)
From: "babu" <babu AT altosys DOT co DOT in>
To: binutils AT sources DOT redhat DOT com
Subject: cossgcc hosted on CYGWIN : glibc  and gcc errors
Message-Id: <E190FON-000810-00 AT smtp DOT net4india DOT com>

Dear All,

We are trying to build a cross gcc which will be hosted on cygwin and produce
binaries for Linux/x86. our setup is as below :

1. We are building crossgcc tool chain for the following :

    host  - cygwin
    build - cygwin
    target- Linux(x86)

 meaning, a crossgcc built on CYGWIN, hosted on CYGWIN, but to produce
code 
 that will run on Linux/x86 platform.

2. our environment is as below :

   Windows 98/ CYGWIN release 1.3.21 / i686


3. built and installed binutils .ok(with warnings).............

tar jxf source/binutils-2.12.tar.bz2
    pushd binutils-2.12
    mkdir build-${CHIP}-linux
    pushd build-${CHIP}-linux
    LDFLAGS='--static' CFLAGS='--static'
    ./configure \
        --target=i686-pc-linux-gnu \
--host=i686-pc-cygwin \
        --build=i686-pc-cygwin \
--prefix=${PRO_INSTALL_PREFIX} ${FP}

    make
    make install

4. we are trying to build and install glibc2.1.3 and we are getting error as
below

=========================================
> =
> = Building glibc for gcc
> =
> =========================================
> /sys/build_tools /cygdrive/c/Documents and 
> Settings/Administrator/Desktop/base/rtlpro_altosys_baseline/private
> /sys/build_tools/glibc-2.2.5 /sys/build_tools /cygdrive/c/Documents
> and 
> Settings/Administrator/Desktop/base/rtlpro_altosys_baseline/private
> /sys/build_tools/glibc-2.2.5/build-i386-linux /sys/build_tools/glibc-
> 2.2.5 /sys/build_tools /cygdrive/c/Documents and 
> Settings/Administrator/Desktop/base/rtlpro_altosys_baseline/private
> creating cache ./config.cache
> checking host system type... i686-pc-cygwin
> *** The GNU C library is currently not available for this platform.
> *** So far nobody cared to port it and if there is no volunteer it
> *** might never happen.  So, if you have interest to see glibc on
> *** this platform visit
> ***	http://www.gnu.org/software/libc/porting.html
> *** and join the group of porters
> make: *** No targets specified and no makefile found.  Stop.
> make: *** No rule to make target `install'.  Stop.
> cp: cannot stat `/sys/linux_2_4/include/linux': No such file or 
> directory
> cp: cannot stat `/sys/linux_2_4/include/asm-i386': No such file or
> directory
> /sys/build_tools/glibc-2.2.5 /sys/build_tools /cygdrive/c/Documents
> and 
> Settings/Administrator/Desktop/base/rtlpro_altosys_baseline/private
> /sys/build_tools /cygdrive/c/Documents and 
> Settings/Administrator/Desktop/base/rtlpro_altosys_baseline/private
> /cygdrive/c/Documents and 
> Settings/Administrator/Desktop/base/rtlpro_altosys_baseline/private
> 
 
5. further when we are trying to build gcc, we are getting the errors
   that say stdlib.h and unistd.h missing when compiling libgcc2.c

We are not using newlib here. Please let us know, if you have come across
this problem or we are doing something wrong.

Regards,

Babu K

 






--------MAIL4INDIA-MIME_-yS5s0Gw2Tqw1049178281-
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--------MAIL4INDIA-MIME_-yS5s0Gw2Tqw1049178281---

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019