Re: Starting with beepcore-c

Chris Hanson <[email protected]> Thu, 03 Apr 2003 20:31:53 -0500
Newsgroups gmane.network.beep.beepcore.c.general
Message-ID <[email protected]>
   Date: Fri, 4 Apr 2003 00:51:44 +0200
   From: Sean de Kock <[email protected]>

   I found them in threaded_os/examples/unix/.libs. I hav ealready
   tried to copy them to the examples directory - that did not work. I
   also tried to copy them straight into /usr/lib but that didn't work
   either. I saw in the beepd script they relink a bunch of stuff but
   never any of the profiles, should they have been linked as well - I
   am not familiar with the way c loads libuaries at runtime? I see in
   the beepng script the profiles are linked.

If you want to run the examples without installing beepcore-c into
your system, the simplest way to do this is

    cd threaded_os/examples/unix
    libtool --mode=execute ./beepd ...other args...

and likewise for beepng.

Even if you install beepcore-c, you'll still need to do this to get
the examples running, unless you decide to install the examples as
well.

This whole process is documented in the libtool manual.  For example,
see section 4.3 of the manual for the definition of execute mode.

Chris


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/