
|
[haiku-appserver]
||
[Date Prev]
[09-2005 Date Index]
[Date Next]
||
[Thread Prev]
[09-2005 Thread Index]
[Thread Next]
[haiku-appserver] Re: testing under R5
- From: Adi Oanca <adioanca@xxxxxxxxxxxxxx>
- To: haiku-appserver@xxxxxxxxxxxxx
- Date: Thu, 01 Sep 2005 12:46:39 +0300
Axel Dörfler wrote:
"DarkWyrm" <bpmagic@xxxxxxxxxxxxxxx> wrote:
I'm not an expert in build systems so I'm asking for your help.
How do you test the app_server under R5?
Ingo made a change to the build system some time ago which made the
jamfile for the server much less complex. If you want to build and
run
the server for R5, go to src/tools/servers/app and run Jam. You'll
build all the tests (last I knew, Playground didn't build) and the
server will also be built as haiku_app_server.
Small correction: it's src/tests/servers/app, and you don't have to
build all test apps (but surely can). I think you still have to make
sure R5 is the target platform, ie. the safest way to build the
app_server is:
$ TARGET_PLATFORM=r5 jam haiku_app_server
Well with all these advices I managed to have the server working.
However, I feel there are some things wrong with our build system.
For example: when I build for r5, in system/lib directory I'm getting 2
libbe libraries: libopenbeos.so and libbe.so. Now, why does libbe.so needs
to be build when target platform is r5? It doesn't have to be built!
Another thing: if I want to build the app_server for r5, I must go
to src/tests/servers/app. Why? This is annoying. I want to be able to build
the app server from src/servers/app, the right location IMO.
If nobody has something to say, I'll modify the build system so that:
- ./configure --target=xxx
- in src/kits when building for r5 *only* libopenbeos.so be built (no libbe.so!)
- app_server be built in src/servers/app no matter the platform.
- tests/servers/app *not* not be dependent of app_server but only of
(libbe.so libroot.so) | (libopenbeos.so)
Any objections?
Thanks,
Adi.
|

|