X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=XB/zg29sAZR+hdUmU/j0/A86+LTWcQgac1fN4RLbAI4=; b=E2rmg46/NzyIPU5+mKnb52b9MIIog2h4jmu5WNDFF1eDWKVDlkpWLH5FUVjjTtRryE 2ufGlC1NrPnXV2AE19IKO9ddhIDcvzg2ShcEATGUaiREEdR8mxn/PSYSz5VoI4nTVSfC sBmlCOd9meGNP4GUMAMCq9te6eFsFtH6eWQdg= MIME-Version: 1.0 In-Reply-To: References: <7175606 DOT QEjTKyN9ct AT harm> Date: Sat, 21 Jan 2012 08:34:55 +0200 Message-ID: Subject: Re: NASM and older Linux kernel versions From: Ozkan Sezer To: djgpp AT delorie DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q0L6Z3jN027179 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, Jan 21, 2012 at 2:15 AM, Rugxulo wrote: > Hi, > > On Jan 20, 1:18 pm, John Wright wrote: >> >> I know this is not a DJGPP topic but it is related in my effort to learn what >> you can and can't do. >> >> I have asked this question in the NASM forum but no response yet. I tried to >> install NASM on a RedHat 5.2 release with kernel 2.0.36-0.5. "make" returned >> with some GLIBC errors. Is this a matter of updating binutils to satisfy the >> dependencies that it is looking for?  Or is this even possible for a Linux >> version this old? Is there a cut-off kernel version? >> >> Any comments would be appreciated. > > So you're trying to compile NASM for an old Linux kernel? Which GCC + > BinUtils are you using? NASM 0.98.39 and older were ANSI C89, but > newer requires C99. You could also try YASM (C89), but it lacks OMF/ > OBJ support (as does FASM). > > Actually, I had very briefly (tested only with one source) tried FASM > on an old Linux (tomsrtbt), and it worked, so you could try that. The > advantage there is that it assembles itself. > > I don't think BinUtils matters much here, but you should use an > appropriate version with your GCC. Libc5 is probably what you're using > as this is a quite old Linux. Actually, perhaps you can cross-compile > a Linux version with OpenWatcom, and just run that. It should work, > even for latest NASM releases, esp. since they link statically. > He says glibc-2.0, and anyone might be more helpful if the errors were shown here. -- O.S.