(where /dev/sdb is a 4G usb flash drive)
then I rebooted, and installed onto /dev/sda6 (my haiku partition, that grub can boot)
which was make with the alpha 3 …
so the install put a new shiny kernel but if I type gcc --version I get the old version 2.x
not the 4.x gcc that the kernel was build with, and I assume any apps I build will not run as the abi will be wrong.
is there a way to get a build that includes the gcc I want ?
Make sure you set up your UserBuildConfig script to include the Development package. This way you will get an updated gcc toolchain.
Then, use the setgcc command to switch between the two compilers.
You should also conside building a gcc2-hybrid image. this is the format that the alphas use and is the only officially supported one. On a gcc2 hybrid, you can use setgcc to make gcc4 the available compiler. Then your gcc4 apps will work just fine. This makes it easy to build apps in a way suitable for other users because it follows the standard directory paths.
Cheers, I had assumed the default setup would give me the standard download.
I renamed haiku/build/jam/UserBuildConfig.sample and addded AddOptionalHaikuImagePackages Development ;
(and also the following to get the build to automatically update my partition) HAIKU_IMAGE_DIR = /dev ;
HAIKU_IMAGE_NAME = sda4 ;
HAIKU_DONT_CLEAR_IMAGE = 1 ;
At the moment I’m just trying to work out how to get things build and what will be
(Wifi config next …)
The default setup is actually a “nightly build” profile, which is stripped down so it builds faster for testing.
You can use one of the preset profiles (jam @alpha or something alike) to get the other versions.