Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 5 Apr 2001 01:49:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 5 Apr 2001 01:49:15 -0400 Received: from leibniz.math.psu.edu ([146.186.130.2]:50564 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Thu, 5 Apr 2001 01:49:11 -0400 Date: Thu, 5 Apr 2001 01:48:30 -0400 (EDT) From: Alexander Viro To: Manoj Sontakke cc: LKML Subject: Re: which gcc version? In-Reply-To: <3ACC4F5B.5A1D2923@sasken.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 5 Apr 2001, Manoj Sontakke wrote: > Hi > I am getting linker error "undefined reference to __divdi3". > This is because c = a/b; where a,b,c are of type "long long" > I understand this is gcc problem. > I am doing this on a pentium with gcc -v = egcs-2.91.66 Don't do it in the kernel. It has nothing to gcc version. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/