Difference between revisions of "Gumstix cMsg"

From New IAC Wiki
Jump to navigation Jump to search
Line 34: Line 34:
 
INSTALL_DIR and GUMBASE
 
INSTALL_DIR and GUMBASE
  
 +
bin >printenv INSTALL_DIR
 +
/home/daq/gumstix/cMsg-3.0
  
 +
bin >printenv GUMBASE
 +
/home/daq/gumstix/gumstix-oe/tmp/cross/arm-angstrom-linux-gnueabi
  
 
scons --gum install
 
scons --gum install

Revision as of 14:24, 11 June 2010

Compiling cMsg library for Gumstix


V 3.0

Download source code from JLab

You need the cMsg code

https://coda.jlab.org/wiki/index.php/CMsg_-_Publish/Subcribe_messaging


and the Makefile extensions

ftp://ftp.jlab.org/pub/coda/BMS/

I copied the makefile extension

BMS/Makefile.vxworks-ppc

to Makefile.gumstix

then change the compiler so it points to the gumstix cross compiler

~/gumstix/gumstix-oe/tmp/cross/arm-angstrom-linux-gnueabi/bin/gcc
~/gumstix/gumstix-oe/tmp/cross/arm-angstrom-linux-gnueabi/bin/g++

Install Using SCONS

Carl Timmer edited the SConstruct file

set the environemental variables

INSTALL_DIR and GUMBASE

bin >printenv INSTALL_DIR /home/daq/gumstix/cMsg-3.0

bin >printenv GUMBASE /home/daq/gumstix/gumstix-oe/tmp/cross/arm-angstrom-linux-gnueabi

scons --gum install scons --gum examples

scons --gum -c

scons -h


[1] Gumstix_Verdex [2] CMsg