Permalink
Browse files

Add missing symbols for linux

  • Loading branch information...
1 parent 6a34083 commit 5bff19718ec4143e5e5255b9029dc3898877c3ca @Keno Keno committed Jul 15, 2012
Showing with 20 additions and 11 deletions.
  1. +2 −2 src/julia.expmap
  2. +3 −0 test/default.jl
  3. +8 −8 ui/Makefile
  4. +1 −1 ui/repl-readline.c
  5. +6 −0 ui/repl.expmap
View
@@ -238,9 +238,8 @@
jl_stdin_callback;
jl_readBuffer;
jl_exit;
+ jl_make_timer;
jl_timer_start;
- jl_timer_stop;
- jl_timer_init;
jl_cwd;
jl_getpid;
ios_splitbuf;
@@ -266,6 +265,7 @@
jl_uv_*;
asprintf;
ev_break;
+ jl_clear_input;
local:
*;
};
View
@@ -23,3 +23,6 @@ runtests("bigint")
runtests("distributions")
runtests("combinatorics")
runtests("statistics")
+
+# io, etc.
+runtests("spawn")
View
@@ -5,8 +5,8 @@ override CFLAGS += $(JCFLAGS)
override CXXFLAGS += $(JCXXFLAGS)
FLAGS = -Wall -Wno-strict-aliasing -fno-omit-frame-pointer \
- -I$(JULIAHOME)/src -I$(JULIAHOME)/src/support -I$(USR)/include $(CFLAGS)
-
+ -I$(JULIAHOME)/src -I$(JULIAHOME)/src/support -I$(USR)/include $(CFLAGS) \
+ -Wl,--export-dynamic
DEBUGFLAGS += $(FLAGS)
SHIPFLAGS += $(FLAGS)
JLDFLAGS += $(shell $(LLVM_CONFIG) --ldflags) $(OSLIBS) -lpthread $(LDFLAGS) $(RPATH)
@@ -20,24 +20,24 @@ release debug: | $(USR)/lib/julia/website
$(MAKE) julia-$@
%.o: %.c repl.h
- $(QUIET_CC) $(CC) $(CFLAGS) $(SHIPFLAGS) -c $< -o $@
+ $(QUIET_CC) $(CC) $(SHIPFLAGS) -c $< -o $@
%.do: %.c repl.h
- $(QUIET_CC) $(CC) $(CFLAGS) $(DEBUGFLAGS) -c $< -o $@
+ $(QUIET_CC) $(CC) $(DEBUGFLAGS) -c $< -o $@
julia-release-basic: $(USRBIN)/julia-release-basic
julia-debug-basic: $(USRBIN)/julia-debug-basic
julia-release-readline: $(USRBIN)/julia-release-readline
julia-debug-readline: $(USRBIN)/julia-debug-readline
$(USRBIN)/julia-release-basic: repl.o repl-basic.o
- $(QUIET_LINK) $(CXX) $(SHIPFLAGS) $^ -o $@ -L$(USRLIB) $(JLDFLAGS) -ljulia-release
+ $(QUIET_LINK) $(CXX) $(LINK_FLAGS) $(SHIPFLAGS) $^ -o $@ -L$(USRLIB) $(JLDFLAGS) -ljulia-release
$(USRBIN)/julia-debug-basic: repl.do repl-basic.do
- $(QUIET_LINK) $(CXX) $(DEBUGFLAGS) $^ -o $@ -L$(USRLIB) $(JLDFLAGS) -ljulia-debug
+ $(QUIET_LINK) $(CXX) $(LINK_FLAGS) $(DEBUGFLAGS) $^ -o $@ -L$(USRLIB) $(JLDFLAGS) -ljulia-debug
$(USRBIN)/julia-release-readline: repl.o repl-readline.o
- $(QUIET_LINK) $(CXX) $(SHIPFLAGS) $^ -o $@ $(READLINE) -L$(USRLIB) $(JLDFLAGS) -ljulia-release
+ $(QUIET_LINK) $(CXX) $(LINK_FLAGS) $(SHIPFLAGS) $^ -o $@ $(READLINE) -L$(USRLIB) $(JLDFLAGS) -ljulia-release
$(USRBIN)/julia-debug-readline: repl.do repl-readline.do
- $(QUIET_LINK) $(CXX) $(DEBUGFLAGS) $^ -o $@ $(READLINE) -L$(USRLIB) $(JLDFLAGS) -ljulia-debug
+ $(QUIET_LINK) $(CXX) $(LINK_FLAGS) $(DEBUGFLAGS) $^ -o $@ $(READLINE) -L$(USRLIB) $(JLDFLAGS) -ljulia-debug
clean: | $(CLEAN_TARGETS)
$(MAKE) -C webserver $@
View
@@ -637,7 +637,7 @@ void restart(void)
rl_on_new_line();
}
-void jl_clear_input(void) {
+DLLEXPORT void jl_clear_input(void) {
//todo: how to do this better / the correct way / ???
//move the cursor to a clean line:
char *p = rl_line_buffer;
View
@@ -0,0 +1,6 @@
+{
+ global:
+ jl_clear_input;
+ local:
+ *;
+};

0 comments on commit 5bff197

Please sign in to comment.