delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/26/07:05:20

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: <qinfeng DOT zhang AT philips DOT com>
Cc: <cygwin AT cygwin DOT com>, <gcc AT gcc DOT gnu DOT org>
References: <OF733A8F48 DOT A0578ED9-ON48256DE9 DOT 003B386C-48256DE9 DOT 003B8B51 AT diamond DOT philips DOT com>
Subject: Re: building cross compiler from cygwin windows to linux: crti.o no such file or directory
Date: Wed, 26 Nov 2003 17:35:57 +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-OE3342F5fU4XN0000340c@hotmail.com>
X-OriginalArrivalTime: 26 Nov 2003 12:05:09.0574 (UTC) FILETIME=[89CD1E60:01C3B415]

>
> oh,
> create a link file for libgcc.a to correct directory, maybe in
/usr/local/gnu/lib/gcc-3.3.1-3/gcc/
>

Thanks a lot to Qinfeng Zhang. Things are quite better now. I could build
gcc-core successfully (I did put dummy crti.o and crtn.o as you told). Later
while building glibc, I got undefined refrence to __open and many other
functions. To get rid of these errors, I reconfigured glibc
with --disable-shared (--enable-shared was giving linking problem, as I
explained). I could build glibc also. When I tried to compile my source
using newly built cross compiler, I got following error:

/usr/local/gnu/tools/host/i686-pc-cygwin/bin/../lib/gcc-lib/i686-pc-linux-gn
u/3.3.1/../../../../i686-pc-linux-gnu/bin/ld: cannot open crt1.o: No such
file or directory
collect2: ld returned 1 exit status
make: *** [a.out] Error 1

Compilation is going ok but linking is yet a problem. While building
gcc-core, I did not get any complain about crt1.o ( I got it for crti.o and
crtn.o). I tried to put a dummy crt1.o in the same directory and built glibc
again but problem still persists. Any clues?

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