First, I have compiled a number of my CLI programs for 64 bit Haiku. I had few problems compiling using the terminal to call the compiler directly. As I was able to compile using “make” on a makefile.
Then I tried compiling some drivers I wrote. After having a lot of problems trying to compile use the CLI or the “make” and a makefile I came to realize there is a problem with how Haiku is setup to compile program without “jam”.
At one point I even thought I had finally gotten the system to create proper drivers, but a quick look at the “syslog” file showed that when the system tried to load in my driver it got reject for “Bad Data”, whatever that means.
Now I know a number of people have no problem using “jam” and if I watch what it does to create a valid driver I could use the same information to compile using the CLI or to edit the make-engine so "make: and makefiles will work okay.
So I have downloaded the latest Haiku source files and the buildtools, and I will first try and build the drivers that come with Haiku and hopefully this will give me the clues I need.
I plan to post my progress here.