>>44
And guess how it determines the right DLLs to load: it freads first 5-bytes from it's own ELF file, then compares them to the ones of each DLL. Truly a Linux quality solution to portability!
>>46
I'm guessing >>44's linux example was an entrypoint decompile of the loader.
Windows' WinMain function isn't exactly an entrypoint, and DLL loading isn't even performed by the application (it can be, but by default the OS loads the imported libraries in a well documented way).
>>46
That looks like generated code. I don't think anyone cares... you're probably being trolled.
Name:
Anonymous2011-09-23 1:32
>>46 some bullshit code probably copied from the binutils sources and/or some thirdparty shite
Nope. It's a custom code made for Linux port of Majesty video game. And of course it fails to run on my distro, while Windows version of Majesty runs fine on all versions of Windows, because it doesnt have to parse the fucking /etc/ld.so.conf!
That is why Linux has no games.
Name:
Anonymous2011-09-23 1:34
>>47 DLL loading isn't even performed by the application
In case of Linux, it's performed by application, to make it portable (every Linux distro keeps DLLs in its own folder).
Name:
Anonymous2011-09-23 1:38
>>49 Linux port of Majesty video game
Sorry to read that, but I can absolutely guarantee you that this is in absolutely NO way the standard way to port a game to Linux, let alone to any platform whatsoever.
Whoever ported it just didn't have any fucking clue what he/she did.
That is why Linux has no games.
That is bullshit. Linux has only very few games because Linux isn't nearly as popular as gaming platform as Windows. That, and only that, is the reason Linux has only few games.
There are plenty of examples of well ported games, like UT2004, Postal2, RTCW, Prey, and just about any game ported by icculus.
Name:
Anonymous2011-09-23 1:39
>>48 That looks like generated code.
The code was produced by IDA.
Name:
Anonymous2011-09-23 1:41
>>51 Linux isn't nearly as popular as gaming platform as Windows...
...because Linux sucks. The platform is bad for both - users and programmes.
>There are plenty of examples of well ported games, like UT2004, Postal2, RTCW, Prey
They probably wont run on modern distribution, because format /etc/ld.so.conf changes.
Name:
Anonymous2011-09-23 1:43
>>51 Sorry to read that, but I can absolutely guarantee you that this is in absolutely NO way the standard way to port a game to Linux...
Beause Linux has no well defined standard.
Oh, but Windows does? And I suppose Apple does too?
... wait, they don't!
No, there is no 'how to port shit to other platforms' standard, because porting differs from software to software. What you probably tried to refer to is the programming part - and that too, differs from software to software.
Now, kindly go back to /g/, and stop acting like you actually know what you're talking about.
Name:
Anonymous2011-09-23 2:07
>>56 Oh, but Windows does?
M$ spends a good amount of $$$ to keep older apps running.
http://www.vistax64.com/vista-general/72880-win16-application-support.html Will I be able to run Win16 (Windows 3.1) applications in Vista?
Many DOS and 16-bit Windows applications run fine
on 32-bit Vista (any edition).
My understanding - based on answers during the beta - is that backwards
compatibility remains a significant goal for the Windows team. The NTVDM and
16 bit WoW are fully functional in Vista; in fact they've been enhanced
beyond what was available in XP (corrections to interrupt vector table,
etc).
Name:
Anonymous2011-09-23 2:15
>>57 M$ spends a good amount of $$$ to keep older apps running.
They don't.
Infact, Microsoft literally tries to exterminate old software by repeatedly reimplementing basic tools (see DirectX, Windows Vista and Windows 7), that become more and more incompatible with old versions. And trust me, Microsoft does not give a shit about old software.
Windows has, other than Linux, a binary compatibility layer, that essentially never changed since Windows 3, and is what makes it possible to run old Windows programs almost without any changes.
But consider the age of Windows and Linux - compared to Windows, Linux is a really young operating system.
Yes. Apple does what Linux not.
You clearly have not the slightest clue what kind of shit you write, really.
Protip: Try to inform yourself what Rosetta really is.
>>60
This is a limitation of the 64 bit CPU (no VDMs in 64 bit mode),
not an explicit design decision by Windows.
Conclusion: Intel sucks.
Name:
Anonymous2011-09-23 2:41
>>59 Try to inform yourself what Rosetta really is.
Rosetta does what Linux cant. Users dont care how it does. It may even turn to divine forces, to the spirit of Steve Job himself - users still wont care or notice - that is the point, users shouldnt be "informed" about all the "really is" pecularities and OS internals, because MacOSX isnt Linux and you dont have to manually patch ld.so.conf to run your app.
>>76 http://en.wikipedia.org/wiki/GNU_Assembler
One source of criticism is the fact that on the x86 and x86-64 architecture it uses the AT&T assembler syntax, rather than the Intel syntax used in many other assemblers
Name:
Anonymous2011-09-23 3:35
>>75 Try asking in a Linux forum.
They banned me for no reason.