]> rtime.felk.cvut.cz Git - ortcan-www.git/commitdiff
Build instructions
authorpisa <pisa@web>
Thu, 21 Oct 2010 14:05:23 +0000 (14:05 +0000)
committerocera <ocera@rtime.felk.cvut.cz>
Thu, 21 Oct 2010 14:05:23 +0000 (14:05 +0000)
index.mdwn

index c14ab3d8875401a10291d30c1410a0a4eb2aa114..2486d16f075cda4438c39b52e59f0866aab73aa4 100644 (file)
@@ -17,6 +17,25 @@ The common interface to access different CAN interfaces
 and library to build higher level layers in implemented
 in Virtual/Versatile CAN API library - [[libVCA|vca]].
 
+## OtCAN Build Instruction for Actual GIT repository Sources 
+
+To obtain and build sources of the latest development
+version of former OCERA CAN components use
+
+    git clone git://ortcan.git.sourceforge.net/gitroot/ortcan/ortcan
+    cd ortcan/
+    git submodule update --init
+    make default-config
+    make
+
+The configuration options for the build can be specified
+in "config.omk" file. For x86_64 build line bellow
+has to be added into config.omk
+
+    CFLAGS+=-fpic
+
+to build loadable modules (shared libraries/DLLs) corectly.
+
 [wp]:http://en.wikipedia.org/wiki/Controller_area_network
 [rtime]:http://rtime.felk.cvut.cz/
 [ocera]:http://sourceforge.net/projects/ocera/