[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Joel Vallier <joel.vallier@wanadoo.fr>] (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Joel Vallier <joel.vallier@wanadoo.fr>] (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Fri, 25 May 2001 07:36:13 +0200 (CEST)
>From owner-rtl Fri May 25 00:32:44 2001
Received: from amyris.wanadoo.fr (smtp-abo-2.wanadoo.fr [193.252.19.150])
by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f4P6WhP21952
for <rtl@fsmlabs.com>; Fri, 25 May 2001 00:32:44 -0600
Received: from localhost.localdomain (193.249.33.10) by amyris.wanadoo.fr; 25 May 2001 08:27:31 +0200
Content-Type: text/plain;
charset="iso-8859-1"
From: Joel Vallier <joel.vallier@wanadoo.fr>
To: rtl@fsmlabs.com
Subject: Re: [rtl] unresolved symbol __udivdi3 and __umoddi3
Date: Fri, 25 May 2001 08:23:27 -0400
X-Mailer: KMail [version 1.2]
References: <Pine.BSF.4.10.10105241224340.50956-100000@monica.cs.rpi.edu>
In-Reply-To: <Pine.BSF.4.10.10105241224340.50956-100000@monica.cs.rpi.edu>
MIME-Version: 1.0
Message-Id: <01052508232700.01415@localhost.localdomain>
Content-Transfer-Encoding: 8bit
On Thursday 24 May 2001 12:29, you wrote:
> Hi Havard --
>
> You need to link in the libgcc.a which is located at:
>
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/libgcc.a
>
GCC can give the path to the libgcc.a with the print-file-name option:
[joel]: gcc -print-file-name=libgcc.a
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/libgcc.a
So you can add a call to GCC at link time in your makefile:
$(LD) -r -o module_linked.o module.o `$(CC) -print-file-name=libgcc.a`
Joel