delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/25/02:04:19

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
X-Originating-IP: [203.200.20.226]
X-Originating-Email: [mohanlaljangir AT hotmail DOT com]
From: "mohanlal jangir" <mohanlaljangir AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
Cc: <gcc AT gcc DOT gnu DOT org>
Subject: building cross compiler from cygwin windows to linux: crti.o no such file or directory
Date: Tue, 25 Nov 2003 12:32:10 +0530
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
Message-ID: <Law11-OE29EbUM5l8v500003132@hotmail.com>
X-OriginalArrivalTime: 25 Nov 2003 07:02:34.0372 (UTC) FILETIME=[1A0B6440:01C3B322]

[Excuse me for sending this mail to both mailing list. I am not very sure,
which mailing list this mail is more suitable]

I am trying to build cross compiler from cygwin window to linux. I did
configured and build binutils as follows:
<source
dir>/binutils-2.14/configure --host=i686-pc-cygwin --target=i686-pc-linux-gn
u --prefix=<tool dir>/host/i686-pc-cygwin  && make

This worked well. Later I tried to compile gcc as follows:
 <source
dir>/gcc-3.3.1-3/configure --host=i686-pc-cygwin --target=i686-pc-linux-gnu 
 --prefix=<tool dir>/host/i686-pc-cygwin --with-newlib --disable-threads

This ended up in following error message:
/usr/local/gnu/tools/host/i686-pc-cygwin/i686-pc-linux-gnu/bin/ld: cannot
open crti.o: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: Leaving directory `/usr/local/gnu/obj/gcc-3.3.1-3/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/usr/local/gnu/obj/gcc-3.3.1-3/gcc'
make: *** [all-gcc] Error 2


When I executed "find ./ -name crt?.*" at command prompt, I got following
output:
./src/gcc-3.3.1-3/gcc/config/arm/crti.asm
./src/gcc-3.3.1-3/gcc/config/arm/crtn.asm
./src/gcc-3.3.1-3/gcc/config/fr30/crti.asm
./src/gcc-3.3.1-3/gcc/config/fr30/crtn.asm
./src/gcc-3.3.1-3/gcc/config/h8300/crti.asm
./src/gcc-3.3.1-3/gcc/config/h8300/crtn.asm
./src/gcc-3.3.1-3/gcc/config/ia64/crti.asm
./src/gcc-3.3.1-3/gcc/config/ia64/crtn.asm
./src/gcc-3.3.1-3/gcc/config/ip2k/crt0.S
./src/gcc-3.3.1-3/gcc/config/m68k/crti.s
./src/gcc-3.3.1-3/gcc/config/m68k/crtn.s
./src/gcc-3.3.1-3/gcc/config/mcore/crti.asm
./src/gcc-3.3.1-3/gcc/config/mcore/crtn.asm
./src/gcc-3.3.1-3/gcc/config/mips/crti.asm
./src/gcc-3.3.1-3/gcc/config/mips/crtn.asm
./src/gcc-3.3.1-3/gcc/config/mmix/crti.asm
./src/gcc-3.3.1-3/gcc/config/mmix/crtn.asm
./src/gcc-3.3.1-3/gcc/config/sh/crt1.asm
./src/gcc-3.3.1-3/gcc/config/sh/crti.asm
./src/gcc-3.3.1-3/gcc/config/sh/crtn.asm


Out of these files none belongs to i386 architecture. I am not sure if
corrosponding file is missing from gcc source code or I am making some
mistake in configuration.

Regards
Mohanlal

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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