Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anders Blomdell
LabComm
Commits
5185e5a4
Commit
5185e5a4
authored
Nov 08, 2011
by
Sven Robertz
Browse files
use liblabcomm instead in example
parent
8337b413
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/simple_java/compile.sh
View file @
5185e5a4
...
...
@@ -2,7 +2,11 @@ java -jar ../../labComm.jar --java=gen --c=gen/simple.c --h=gen/simple.h simple
javac
-cp
../../lib/java:. gen/
*
.java Encoder.java Decoder.java
gcc
-o
example_encoder
-I
.
-I
../../lib/c example_encoder.c gen/simple.c ../../lib/c/labcomm.c ../../lib/c/labcomm_fd_reader_writer.c
gcc
-o
example_encoder
-L
../../lib/c
-I
.
-I
../../lib/c example_encoder.c gen/simple.c
-llabcomm
gcc
-o
example_decoder
-L
../../lib/c
-I
.
-I
../../lib/c example_decoder.c gen/simple.c
-llabcomm
#gcc -o example_encoder -I . -I ../../lib/c example_encoder.c gen/simple.c ../../lib/c/labcomm.c ../../lib/c/labcomm_fd_reader_writer.c
#gcc -o example_decoder -I . -I ../../lib/c example_decoder.c gen/simple.c ../../lib/c/labcomm.c ../../lib/c/labcomm_fd_reader_writer.c
gcc
-o
example_decoder
-I
.
-I
../../lib/c example_decoder.c gen/simple.c ../../lib/c/labcomm.c ../../lib/c/labcomm_fd_reader_writer.c
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment