Linked by Thom Holwerda on Wed 29th Aug 2012 14:14 UTC, submitted by fran
BeOS & Derivatives Haiku's 64bit port is progressing nicely. "As you can see, this looks pretty much like a regular Haiku desktop. There's still a lot of things missing, though - not many apps or drivers yet. However, most things should be fairly simple to get working, typically just a few compilation fixes."
Thread beginning with comment 533053
To read all comments associated with this story, please click here.
theuserbl
Member since:
2006-01-10

How will be 32bit programs supported on it?

Like on Windows and Linux with twice existing libaries (all in 32bit and 64bit)?

x86-64bit-Linux have in /lib and /usr/lib the 32bit libaries and in /lib64 and /usr/lib64 the 64bit libraries.
Binaries are in 32bit OR in 64bit in /bin and /usr/bin

64bit Windows doing it similar.
In C:\Windows\System32 are 64bit libraries and programs.
And in C:\Windows\SysWOW64 are the same libaries and programs in 32bit.
Yes, there are also notepad.exe, calc.exe, etc twice.
And for the installed programs existing different places, too.
In "C:\Program Files" are the 64bit programs and in "C:\Program Files (x86)" are the 32bit programs.

What will Haiku do?
Will be 32bit programs on 64bit Haiku supported?
If yes: Will be all libraries exiting twice?

Reply Score: 1

henderson101 Member since:
2006-05-30

doesn't Haiku already do this for the Hybrid? So, let's assume 64bit would be entirely Gcc4 (because, why wouldn't it?) does that mean 3 sets of libraries? Gcc2.x 32bit, gcc4.x 32bit, gcc4.x 64bit??? This seems quite an excessive amount of binaries! But I'm guessing it would be needed to support all 3 architectures.

Edit: I think my main point here is that Gcc2.x is necessary to support legacy BeOS closed source apps (the original goal of Haiku back when it was called Open BeOS) but gcc4 is required to support some of the newer stuff (hence hybrid) and that addind a new architecture (64bit) will double the required base libraries (if not more of the OS level executables)

Edited 2012-08-30 08:50 UTC

Reply Parent Score: 2

jscipione Member since:
2009-08-22

...let's assume 64bit would be entirely Gcc4


x86_64 is gcc4 only, gcc2 is for x86 only.

...does that mean 3 sets of libraries?


Yes, each application needs to be packaged into 3 binaries, one for x86 gcc2, one for x86 gcc4, and a third for x86_64.

Right now it is difficult enough to maintain separate x86 gcc2 and gcc4 packages, x86_64 will add a 3rd. This is a good opportunity for the package manager and IDEs to make this easier by automatically generating "Fat" binaries that run on all architectures.

However, this is a problem that must not be solved immediately because the official Haiku R1 release will be x86 gcc2h (32-bit). Official x86_64 support will come in R2.

Reply Parent Score: 1