General Haiku Discussion

Here you can talk about anything relating to Haiku.

Haiku @ eeePC / news

Forum thread started by stargater on Sat, 2008-08-02 16:29

more news in the www from haiku and eeepc:
http://www.eeextra.com/news/haiku-pre-alpha-released.html

;-)

Ralf Schülke aka stargater

Haiku @ eeePC / golem

Forum thread started by getStartedWithHaiku on Fri, 2008-08-01 22:50

Donating Squads

Forum thread started by humdinger on Sun, 2008-07-27 07:12

Hello Haiku friends!

Now, after the very successful Haiku Code Drive 2008, I’ve been thinking…
As you may know, it’s possible to donate a small amount $5, $10, or $20 every month (see Recurring Donations). I don’t know the specifics, but I assume it’s not widely used. PayPal-dislike aside, here’s one possible reason:

While $10 or $20 is definitely manageable for most of us (hey, how long do you have to work for $0.5 or $1 every workday?), the common reaction is “What good can my measly $10/$20 do?”. Well… not much, in fact. Unless you are just one of many. What’s needed is the knowledge that you’re not alone, that there are more people like you.

To that end, I’d like to start off “Donating Squads”. I pledge to donate $20/month if there are 4 others willing to do automatic monthly donations (no matter how much, the amount doesn’t have to be announced!) as well. Once the first 5-people-squad is fully manned, I hope there are more guys motivated to open and join the next squad.

The first Squad’s, fully manned and donating:

1. ..............

2. Lawrence Fitzgerald

3. Jonas Sundström

4. mmadia

5. Olathe

The second Squad’s members, currently pledging to donate monthly once fully armed:

1. ..............

2. ..............

3. ..............

4. ..............

5. ..............

Please leave a comment if you want to join.
Also leave a comment when are not able to donate regularly any longer.

Regards,
Humdinger

Edited 28.July 08: Added Lawrence Fitzgerald to the Squad.
Edited 29.July 08: Added Jonas Sundström and mmadia to the Squad.
Edited 29.August 08: Added Olathe, closed the 1st Squad and initialized the next one. Added comment to notify when someone leaves a Squad.
Edited 16.September 08: Lawrence Fitzgerald had to leave the Squad.
Edited 23.December 08: Lawrence Fitzgerald has rejoined the Squad.
Edited 01.October 09: Humdinger has left the Squad.

Problem with booting Zeta and BeOS on AMD X2.

Forum thread started by skywaker on Sat, 2008-07-12 18:09

Hi. I am long fan of Haiku, previous BeOS operating system and I love Syllable too..

I have problem with run Zeta and classic BeOS R5 on my mashine.. I must disable multicore support.. I have AMD X2 4000+ and 2gb of RAM.

Copying files from and to Haiku from within Linux

Forum thread started by PieterPan on Sat, 2008-07-12 09:38

THIS FORUM POST IS LOCKED, article has been moved here: http://www.haiku-os.org/documents/dev/copying_files_from_and_to_haiku_from_within_linux_using_bfs_shell

This is a small tutorial on how to use the bfs_shell to copy files to and from a Haiku partition or image from within Linux.
Please use caution when you are working with partitions. In short, if you don't know for sure what you're doing here, please don't, unless you have backups of everything and are willing to restore everything.
This tuturial assumes you have completed:

With that out of the way, there are two ways to do this:

The quick and dirty way

You can fire up the bfs_shell with jam and the path to the image or partition: sudo jam run ":<build>bfs_shell" /dev/sda57
This will unleash bfs_shell onto a fictitious partition /dev/sda57. Replace this path with the path to your haiku image or haiku partition you set up in the tutorial above. You might need sudo if you're accessing a partition, you can leave it out for an image. You will be greeted with the fssh:/> prompt.

pieter@pieter-laptop:~/develop/haiku/trunk$ sudo jam run ":<build>bfs_shell" /dev/sda57
...found 675 target(s)...
...updating 1 target(s)...
RunCommandLine1 run_0 
bfs: mounted "Haiku" (root node at 262144, device = /dev/sda57)
fssh:/> 

To find out what bfs_shell is capable of, type in help.

fssh:/> help
supported commands:
cd               - change current directory
chmod            - change file permissions
cp               - copy files and directories
exit             - quit the shell
help             - list supported commands
ln               - create a hard or symbolic link
ls               - list files or directories
mkdir            - create directories
mkindex          - create an index
query            - query for files
quit             - quit the shell
rm               - remove files and directories
sync             - syncs the file system

Pretty much the only thing this does not explain, is that paths on Linux should be preceded with a :.
So let's try to browse around a bit.

fssh:/> ls
.:
drwxrwxrwx  0  0          0 2008-07-12 09:53:21 .
drwxrwxrwx  0  0          0 2008-07-12 09:53:21 ..
drwxr-xr-x  0  0       2048 2008-07-12 09:10:56 myfs
fssh:/> ls myfs
.:
drwxr-xr-x  0  0       2048 2008-07-12 09:10:56 .
drwxrwxrwx  0  0          0 2008-07-12 09:53:21 ..
drwxr-xr-x  0  0       2048 2008-07-12 11:13:53 apps
drwxr-xr-x  0  0       2048 2008-07-12 09:10:57 beos
drwxr-xr-x  0  0       2048 2008-07-12 09:10:57 common
drwxr-xr-x  0  0       2048 2008-07-12 11:13:53 develop
drwxr-xr-x  0  0       2048 2008-07-12 09:10:57 home
drwxr-xr-x  0  0       2048 2008-07-12 09:10:57 optional
drwxr-xr-x  0  0       2048 2008-07-12 11:13:53 preferences
drwxr-xr-x  0  0       2048 2008-07-12 09:10:57 var
fssh:/> ls myfs/home/config/settings
myfs/home/config/settings:
drwxr-xr-x  0  0       2048 2008-07-12 09:10:57 .
drwxr-xr-x  0  0       2048 2008-07-12 09:10:57 ..
-rw-r--r--  0  0        474 2008-07-12 11:43:47 Archive.zip
drwxrwxrwx  0  0       2048 2008-07-12 11:16:59 Cortex
-rw-r--r--  0  0          8 2008-07-12 11:13:52 Deskbar_security_code
-rw-r--r--  0  0         43 2008-07-12 11:45:42 Deskbar_settings
-rw-r--r--  0  0         28 2008-07-12 11:44:08 DiskProbe_data
-rw-r--r--  0  0        233 2008-07-12 11:24:08 DriveSetup
-rw-r--r--  0  0         31 2008-07-12 11:44:19 Expander_Settings
-rw-r--r--  0  0         50 2008-07-12 11:37:32 Font_Settings
-rw-r--r--  0  0       7691 2008-07-12 11:13:51 Key_map
----------  0  0         35 2008-07-12 11:37:32 Magnify_prefs
drwxr-xr-x  0  0       2048 2008-07-12 11:24:17 Media
-rw-r--r--  0  0         44 2008-07-12 11:16:42 MediaPrefs Settings
-rw-r--r--  0  0         44 2008-07-12 11:32:15 Mouse_settings
-rw-r--r--  0  0          8 2008-07-12 11:35:19 Screen_data
drwxr-xr-x  0  0       2048 2008-07-12 11:13:53 Tracker
-rw-r--r--  0  0          8 2008-07-12 11:17:16 VM_data
-rw-r--r--  0  0         55 2008-07-12 11:43:47 ZipOMatic.msg
drwxr-xr-x  0  0       2048 2008-07-12 09:11:28 beos_mime
drwxr-xr-x  0  0       2048 2008-07-12 09:10:57 kernel
-rw-r--r--  0  0        119 2008-07-12 11:45:43 print_server_settings
drwxr-xr-x  0  0       2048 2008-07-12 09:10:58 printers
drwxr-xr-x  0  0       2048 2008-07-12 11:13:50 system
-rw-------  0  0          1 2008-07-12 11:38:01 time_dststatus
-rw-r--r--  0  0         59 2008-07-12 11:45:42 x-vnd.Haiku-desklink

Now I'll copy a file I created in Haiku (/haiku/home/config/settings/Archive.zip) to Linux.

fssh:/> cp myfs/home/config/settings/Archive.zip :/home/pieter

The cp command copied source file myfs/home/config/settings/Archive.zip to destination path :/home/pieter.
You can also copy something in the other direction. When you're done, type exit.

fssh:/> exit
...updated 1 target(s)...

The Profile Way

If I understand correctly, build profiles allow you to have different, well, build profiles. You can define a few and simply type jam -q @<em>&lt;profile_name&gt;</em> to compile that profile. When you've created build profiles, you will want to build Haiku this way now.
Seems pretty useful to me, saves you a lot of modifying the UserBuildConfig if you have a lot of different images/partitions to build haiku on. If someone has more details on this, please let me know and I'll incorporate it here.

  1. Read the trunk/build/jam/UserBuildConfig.ReadMe. It has some useful things explained.
  2. Set up build profiles:
    Copy the Build Profiles section from the UserBuildConfig.ReadMe to UserBuildConfig. They should both be located in trunk/build/jam. If you don't have a UserBuildConfig yet, create one first.
  3. Use the jam -q @<em>&lt;profile_name&gt;</em> mount to start bfs_shell on a profile (pick the profile that applies to you, for me it is jam -q @disk mount). Again, you might need sudo for partitions, and you won't need it for images. If you previously had set up the UserBuildConfig from the tutorial linked above, you may want to move the usual lines you had and place them in the right case "<em>&lt;profile_name&gt;</em>" : { section of the UserBuildConfig.
  4. So after you've typed sudo jam -q @disk mount, you will be greeted by the fssh:/> prompt.

    pieter@pieter-laptop:~/develop/haiku/trunk$ sudo jam -q @disk mount
    ...found 675 target(s)...
    ...updating 1 target(s)...
    RunCommandLine1 run_0 
    bfs: mounted "Haiku" (root node at 262144, device = /dev/sda57)
    fssh:/>
    

    Now you work with the same commands as with the quick and dirty way. Start with help.

I hope this was useful, please let me know if you have any feedback.

Book giveaway

Forum thread started by gunnarstaalesen on Thu, 2008-07-10 20:50

Hello,

I have two BeOS books I want to get rid of. It's The BeOS Bible and Be Developer's Guide (including a CD with BeOS Preview Release 2). If anyone are interested, send an email to gunnarDOTstaalesenATgmailDOTcom or reply in this thread. You have to pay for the shipping though.

I'm gonna trash them if nobody wants them.

GCC 4 or not ?

Forum thread started by greg2 on Tue, 2008-07-08 12:20

Hi,

i am interested in Haiku. I want to convert one of my program on Haiku using vmware.
But my program needs GCC 4. I have read in a news (on haiku-os.org) that haiku will now be able to use programs compiled with GCC 4.
But i have read in a Mailing list archive that Haiku R1 will not support GCC 4.

My questions:
When will Haiku be able to run programs compiled with GCC 4 ?
Is it hard to do ?
Windows and Linux can run program compiled with several compilers, why not Haiku ?

Thanks

Syndicate content