|
![](/i/fill.gif) |
>> According to this,
>>
>> System: Linux infong 2.4 #1 SMP Tue Jan 17 02:58:41 UTC 2012 i686
>> GNU/Linux
>
> Strange, a 2.4 serie kernel compiled at the beginning of 2012.
> 2.6 is more mainstream, and kernel has now entered the 3.2 serie
Don't look at me. This is from the same company that's running a
long-obsolete version of WordPress too. (At least, it was obsolete when
I checked 4 years ago, and it hasn't been updated since, so...)
>> So perhaps I should try compiling a 32-bit ELF binary and see if that
>> works? (Man, is there even a way to do that with a 64-bit Linux distro?
>> I'm sure there is, but finding it...)
>
> You need a multi-lib gcc (or whatever, g++...)
> You can then use -m32 to get a 32 bits binary.
>
> (-m32 should be used for compilation& link)
Adding -m32 causes a whole bunch of errors due to missing header files.
Installing glibc-devel-i386 makes compilation succeed, but now I get
half a dozen linker errors instead. Blindly installing packages at
random eventually made the errors go away.
(That's what I love about Linux - there's never any /documentation/
about what the hell all these packages do! For example, almost every
single package related to GCC simply tells you what GCC is - /not/ what
part of GCC is contained within this specific package!)
Post a reply to this message
|
![](/i/fill.gif) |