Mail Archives: djgpp/2012/01/21/01:35:52
On Sat, Jan 21, 2012 at 2:15 AM, Rugxulo <rugxulo AT gmail DOT com> wrote:
> Hi,
>
> On Jan 20, 1:18 pm, John Wright <j DOT DOT DOT AT wacontrols DOT com> 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.
- Raw text -