General Haiku Discussion

Here you can talk about anything relating to Haiku.

Haiku GCC4 build

Forum thread started by Conrad Lukawski on Sun, 2009-02-15 04:00

Not sure where to put this really.
I noticed that there is no official build of haiku with gcc4, so I set out to make one myself. Built on Xubuntu 8.04.
I thought I might save some of you the time required to build haiku with GCC4, so I am posting it here.

This is a raw disk image, useable in qemu (not sure about other emulators, I use qemu) only 128mb in size, so you may want to make another disk image to work on.

The disk image is in a compressed tarball.
http://www.2shared.com/file/4879854/88d56b27/haiku_gcc4_raw.html

Have fun,
Conrad.

EDIT: Oops, silly me, I removed the file extension by mistake. Its .tar.bz2
Sorry :)

[Resolved] Why can't I play .avi videos in natively installed Haiku?

Forum thread started by paulfxh on Sat, 2009-02-14 20:16

I have both Haiku (r29155) and Senryu (r29143) installed natively on my Asus EeePC 901 and, in general, both operate well.
While .mp3 files play without problems in both, when I try to play a .avi video, I can get the sound but not the video.
This happens whether I use the MediaPlayer or VLC 0.8.6d (I've also tried VLC 0.8.6c with the same results).
I've received comments from others that the problem may be related to my .avi file. However, this plays perfectly in VLC 0.8.6e on the Ubuntu partition on the same machine.
Somebody else mentioned that this may be a Haiku bug. However, this video tutorial shows video working perfectly in Haiku.
Additionally, this post mentions exactly the same problem (sound but no video) but claims "that will soon change, maybe as soon as tomorrow". Given that this post is almost three years old, it's not unreasonable to conclude that "tomorrow" has arrived already.
Can anybody please un-confuse me?

Trying to get GCC 4.3.3 working

Forum thread started by flubba86 on Sat, 2009-02-14 06:56

Hey guys,
Yesterday I finished reading all about Michael Lotz's efforts in getting GCC 4.3.3 native working in Haiku then successfully building Haiku with it.

I have downloaded the buildtools repository from SVN, which contains the new gcc and the new binutils.
Am I right in understanding that these have been patched and configured to a point that they will build under haiku without modification? I have been trying over and over with different ./configure options with no luck at all. I was initially getting errors relating ld not being able to find crtbegin.o during a certain part of the build. After a few hours of googling I overcame that error by specifically setting the path to the compiler using "CC=/home/develop/tools/gcc-2.95.3-haiku-081024/bin/gcc" on the configure line.
I am now getting the error "undefined reference to __popcountsi2" while building bitmap.o in the gcc/bitmap.c file. I have googled this one to death and cant find a solution. I initially thought it had something to do with the GMP and MPFR libraries that mmlr mentions in his blog, but upon further investigation I think it is unrelated.

I have also tried compiling the new binutils, but I am getting the error "noreturn function does return." in the bfd/bfd.c file. From what I could determine from some extensive google searching on this topic, it seems that there is a function (exit()?) which is being linked in from haiku which is not meant to return but does.

Anyway, if I could get any help with my problems would be greatly appreciated, been driving me nuts. I am really keen to do a native gcc4 build of haiku.

Is Haiku a 100% clone of BeOS?

Forum thread started by Interested on Sat, 2009-02-14 04:25

I didn't know until a while ago that Haiku was the successor of BeOS. Forgive my ignorance, though this triggers my curiosity:

Is Haiku a 100% clone of BeOS and BeOS's kernel?
Does Haiku use BeOS source codes directly (via reverse engineering)?

I remember my relative used to work on BeOS and it is pretty interesting for me.

Thank you for listening.

Binary compatibility going forward.

Forum thread started by Rabayn on Fri, 2009-02-13 23:16

I was just wondering what priority the Haiku project plans to place on binary compatibility over time. I know initially it is pretty high since the major goal is binary compat. with BeOS R5 but what about moving on from there?

I have been using Linux for hobby development over the past 10 years or so, and am at the point where I just can't take it any more. Linux is such a moving target, binary distribution of anything is a nightmare. Different distributions, library versions rapidly changing, the occasional ABI changes, it's exhausting. Any complaints about not being able to run old binaries on a Linux box are always met with comments about downloading and compiling old library requirements, or a lecture on the evils of closed source/binary distribution. And the less said about the hostility and problems for closed source/binary Linux driver developers the better. I love developing ON Linux, but hate developing FOR Linux.

Not that I am a Windows fan, but I can take a very large number of apps compiled for Windows95 and run them on Windows Vista with little to no issue. I find that extremely important for a desktop OS. If getting a program to work on a user focused desktop system ever MENTIONS source code, something is wrong imo.

So, I am looking for a new hobby OS home.. =). I have compiled and started playing with Haiku and am very impressed (never did use BeOS). Just wondering if you guys share one of my higher priorities for a desktop OS.

Anyway, to make a short story long, is there going to be a focus on making it so I can compile a program for Haiku and, assuming no ugly hacks/undocumented API calls , run it on Haiku 5-10 years later?

Regards,
Rick Hansen

Available haiku images for pxe netboot.

Forum thread started by Prophet on Fri, 2009-02-13 03:11

Hi,
I would like to install boot Haiku through pxe as in http://www.freelists.org/post/haiku/Setting-up-Windows-to-boot-Haiku-thr... .
If I understand correctly you need to compile a Haiku image for netboot. Do the raw images provided are compiled for netboot, if not is there an image publicly available? (I have no BSD or linux installed).
As well, once booted, will it be possible to install Haiku to the hard drive through this method?

Thanks,

Quentin

[Resolved] BTabView Resizing Programming Question

Forum thread started by smlnjoe on Sat, 2009-02-07 06:29

I am just coming back to BeOS/Haiku and am writing an application that has a BTabView. Within the individual BTabs I have a BScrollView and a BTextView. When I have more than one tab in the tab view and I resize the BWindow the inactive BTab's contents do not resize. When I switch the inactive tab to active then the frame doesn't take up the entire space in the BTabView(the lower right corner of the BTab/contents is not in the lower right corner of the BTabView).

I am passing B_WILL_DRAW | B_FRAME_EVENTS | B_FULL_UPDATE_ON_RESIZE for the flags to the BScollView and the BTextView. I am passing B_FOLLOW_ALL for the resizing mode.

How can I get the contents to resize? Do I need to override the FrameResized method in the BTextView?

I am using BeOS Max 4 (PE 5.03) on X86 hardware. Developing using BEIDE.

Any help would be greatly appreciated.

Syndicate content