Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Porting bible-kjv to emscripten
#!/bin/bash
set -e
# run this script with bash ./build-bible-kjv.sh
if ! [ -d editline ]; then
git clone https://github.com/umeboshi2/editline.git
fi
if ! [ -d bible-kjv ]; then
git clone https://github.com/umeboshi2/bible-kjv.git
fi
# build editline first
pushd editline
if ! [ -r configure ]; then
./autogen.sh
fi
if ! [ -r Makefile ]; then
PREFIX=`pwd`/../libs
emconfigure ./configure --disable-shared --enable-static --prefix=$PREFIX
fi
make
make install
popd
# build bible-kjv
pushd bible-kjv
# build things that need host tools
make bible.data bible.data.conc makeindex
# remove host objects already used but also
# needed in target
for objfile in util.o compresslib.o; do
if [ -r $objfile ]; then
rm $objfile
fi
done
emmake make bible
# we need an extension for emcc
cp bible bible.bc
# prepare files
mkdir -p usr/lib
cp bible.data bible.data.conc usr/lib
echo "Running emcc..."
emcc bible.bc ../libs/lib/libeditline.a --preload-file usr -o bible-kjv.html -s ASSERTIONS=1
popd
# the target should be at bible-kjv/bible-kjv.html
@umeboshi2

This comment has been minimized.

Copy link
Owner Author

umeboshi2 commented Jan 3, 2018

Script started on Wed 03 Jan 2018 02:58:54 AM CST
<snip keychain finding keys, etc...>
(main) �]0;umeboshi@bard: ~/workspace/EM-ports/foo�umeboshi@bard:~/workspace/EM-ports/foo$ bash build-bible-kjv.sh 
Cloning into 'editline'...
remote: Counting objects: 1317, done.�[K
Receiving objects:   0% (1/1317)   
Receiving objects:   1% (14/1317)   
Receiv
<snip progress>
Cloning into 'bible-kjv'...
remote: Counting objects: 109, done.�[K
remote: Compressing objects:   1% (1/64)   �[K
remote: Compressing objects:   3
<snip progress>
~/workspace/EM-ports/foo/editline ~/workspace/EM-ports/foo
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force --warnings=portability 
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --force
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force --warnings=portability
autoreconf: running: /usr/bin/autoheader --force --warnings=portability
autoreconf: running: automake --add-missing --force-missing --warnings=portability
configure.ac:11: installing './compile'
configure.ac:15: installing './config.guess'
configure.ac:15: installing './config.sub'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
examples/Makefile.am: installing './depcomp'
autoreconf: no config.status: cannot re-make
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc accepts -g... yes
checking for /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc option to accept ISO C89... none needed
checking whether /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc... /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc
checking if the linker (/freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /freespace/home/umeboshi/workspace/emsdk/clang/e1.37.27_64bit/llvm-nm
checking the name lister (/freespace/home/umeboshi/workspace/emsdk/clang/e1.37.27_64bit/llvm-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emranlib
checking command to parse /freespace/home/umeboshi/workspace/emsdk/clang/e1.37.27_64bit/llvm-nm output from /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc supports -fno-rtti -fno-exceptions... yes
checking for /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc option to produce PIC... -fPIC -DPIC
checking if /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc PIC flag -fPIC -DPIC works... yes
checking if /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc static flag -static works... yes
checking if /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc supports -c -o file.o... yes
checking if /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc supports -c -o file.o... (cached) yes
checking whether the /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc linker (/freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc) supports shared libraries... clang version 4.0.0  (emscripten 1.37.27 : 1.37.27)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /freespace/home/umeboshi/workspace/emsdk/clang/e1.37.27_64bit
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/6
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/6.3.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.3.0
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.3.0
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64
INFO:root:�[32m(Emscripten: Running sanity checks)�[0m
yes
checking dynamic linker characteristics... ERROR:root:�[31mno input files
note that input files without a known suffix are ignored, make sure your input files end with one of: ('.c', '.C', '.i', '.cpp', '.cxx', '.cc', '.c++', '.CPP', '.CXX', '.CC', '.C++', '.ii', '.m', '.mi', '.mm', '.mii', '/dev/null', '.bc', '.o', '.obj', '.lo', '.dylib', '.so', '.a', '.ll', '.h', '.hxx', '.hpp', '.hh', '.H', '.HXX', '.HPP', '.HH')�[0m
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether stat file-mode macros are broken... no
checking for ANSI C header files... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking termio.h usability... no
checking termio.h presence... no
checking for termio.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sgtty.h usability... no
checking sgtty.h presence... no
checking for sgtty.h... no
checking for unistd.h... (cached) yes
checking whether termios.h defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ... yes
checking for size_t... yes
checking whether closedir returns void... no
checking whether /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc needs -traditional... no
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for strchr... yes
checking for strdup... yes
checking for strrchr... yes
checking for tcgetattr... yes
checking for perror... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libeditline.pc
config.status: creating src/Makefile
config.status: creating include/Makefile
config.status: creating man/Makefile
config.status: creating examples/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make  all-recursive
make[1]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline'
Making all in src
make[2]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/src'
  CC       libeditline_la-editline.lo
  CC       libeditline_la-complete.lo
  CC       libeditline_la-sysunix.lo
  CCLD     libeditline.la
make[2]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/src'
Making all in include
make[2]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/include'
Making all in man
make[2]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/man'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/man'
Making all in examples
make[2]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/examples'
  CC       testit.o
  CCLD     testit
  CC       cli.o
  CCLD     cli
  CC       excallback.o
excallback.c:183:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
1 warning generated.
  CCLD     excallback
make[2]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/examples'
make[2]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline'
make[2]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline'
make[1]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline'
Making install in src
make[1]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/src'
make[2]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/src'
 /bin/mkdir -p '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/../libs/lib'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libeditline.la '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/../libs/lib'
libtool: install: /usr/bin/install -c .libs/libeditline.lai /freespace/home/umeboshi/workspace/EM-ports/foo/editline/../libs/lib/libeditline.la
libtool: install: /usr/bin/install -c .libs/libeditline.a /freespace/home/umeboshi/workspace/EM-ports/foo/editline/../libs/lib/libeditline.a
libtool: install: chmod 644 /freespace/home/umeboshi/workspace/EM-ports/foo/editline/../libs/lib/libeditline.a
libtool: install: /freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emranlib /freespace/home/umeboshi/workspace/EM-ports/foo/editline/../libs/lib/libeditline.a
libtool: finish: PATH="/freespace/home/umeboshi/.virtualenvs/main/lib/node_modules/.bin:/freespace/home/umeboshi/.virtualenvs/main/bin:/freespace/home/umeboshi/.virtualenvs/main/bin:/freespace/home/umeboshi/local/gems/bin:/freespace/home/umeboshi/.evm/bin:/freespace/home/umeboshi/local/go/bin:/freespace/home/umeboshi/bin:/freespace/home/umeboshi/workspace/emsdk:/freespace/home/umeboshi/workspace/emsdk/clang/e1.37.27_64bit:/freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27:/freespace/home/umeboshi/.virtualenvs/main/lib/node_modules/.bin:/freespace/home/umeboshi/.virtualenvs/main/bin:/freespace/home/umeboshi/local/gems/bin:/freespace/home/umeboshi/.evm/bin:/freespace/home/umeboshi/local/go/bin:/freespace/home/umeboshi/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin" ldconfig -n /freespace/home/umeboshi/workspace/EM-ports/foo/editline/../libs/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /freespace/home/umeboshi/workspace/EM-ports/foo/editline/../libs/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/src'
make[1]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/src'
Making install in include
make[1]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/include'
make[2]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/include'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/../libs/include'
 /usr/bin/install -c -m 644 editline.h '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/../libs/include'
make[2]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/include'
make[1]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/include'
Making install in man
make[1]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/man'
make[2]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/man'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/../libs/share/man/man3'
 /usr/bin/install -c -m 644 editline.3 '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/../libs/share/man/man3'
make[2]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/man'
make[1]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/man'
Making install in examples
make[1]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/examples'
make[2]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/examples'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/examples'
make[1]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/examples'
make[1]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline'
make[2]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/../libs/share/doc/editline'
 /usr/bin/install -c -m 644 README.md LICENSE '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/../libs/share/doc/editline'
 /bin/mkdir -p '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/../libs/lib/pkgconfig'
 /usr/bin/install -c -m 644 libeditline.pc '/freespace/home/umeboshi/workspace/EM-ports/foo/editline/../libs/lib/pkgconfig'
make[2]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline'
make[1]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/editline'
~/workspace/EM-ports/foo
~/workspace/EM-ports/foo/bible-kjv ~/workspace/EM-ports/foo
make squish
make[1]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/bible-kjv'
cc -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -DDESTLIB=\"/usr/lib\" -I ../libs/include   -c -o squish.o squish.c
Linking squish ...
done
make[1]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/bible-kjv'
if ./squish -w 65536 -v < bible.rawtext >squish.tmpdata; \
	then	mv squish.tmpdata squish.data; \
	else	rm -f squish.tmpdata squish.stats; fi
Checkpoint 1 (65537) at 25717
Checkpoint 2 (131073) at 51235
<snip boring stats>
Checkpoint 66 (4325377) at 1707997
Checkpoint 67 (4390913) at 1734075
Compression: 60.55%
make buildcmp
make[1]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/bible-kjv'
cc -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -DDESTLIB=\"/usr/lib\" -I ../libs/include   -c -o buildcmp.o buildcmp.c
cc -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -DDESTLIB=\"/usr/lib\" -I ../libs/include   -c -o compresslib.o compresslib.c
cc -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -DDESTLIB=\"/usr/lib\" -I ../libs/include   -c -o util.o util.c
Linking buildcmp ...
done
make[1]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/bible-kjv'
./buildcmp
Window size (bytes): 65536
Number of windows: 68
Window[0] starts at 371
Window[1] starts at 26085
<snip boring stats>
Window[68] starts at 1740565
mv squish.output bible.data
To exclude "stopwords" from concordance use this:
     ./makeconc.pl bible.stopwords
NOTE: The next command will FAIL if you don't have PERL.
  If it fails, edit Makefile to use this instead:
     ./makeconcordance
Here we go...
./makeconc.pl
All words will be included in concordance (no stopwords).
make makeconcfile
make[1]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/bible-kjv'
cc -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -DDESTLIB=\"/usr/lib\" -I ../libs/include   -c -o makeconcfile.o makeconcfile.c
Linking makeconcfile ...
done
make[1]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/bible-kjv'
./makeconcfile bible.data.conc < bible.rawconcordance
Concordance data file:
  Version:  02
  Name:     KJV Concordance
  Contents: 12544 words
  Word list at file offset 100
  Index at file offset 101823
  Data at file offset 126913
cc -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -DDESTLIB=\"/usr/lib\" -I ../libs/include   -c -o makeindex.o makeindex.c
Linking makeindex ...
done
/freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -DDESTLIB=\"/usr/lib\" -I ../libs/include   -c -o bible.o bible.c
./makeindex2 bible.rawtext
/freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -DDESTLIB=\"/usr/lib\" -I ../libs/include   -c -o brl-index.o brl-index.c
/freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -DDESTLIB=\"/usr/lib\" -I ../libs/include   -c -o brl.o brl.c
make makeindex
make[1]: Entering directory '/freespace/home/umeboshi/workspace/EM-ports/foo/bible-kjv'
make[1]: 'makeindex' is up to date.
make[1]: Leaving directory '/freespace/home/umeboshi/workspace/EM-ports/foo/bible-kjv'
./makeindex bible.rawtext > bible-index.c
/freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -DDESTLIB=\"/usr/lib\" -I ../libs/include   -c -o bible-index.o bible-index.c
/freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -DDESTLIB=\"/usr/lib\" -I ../libs/include   -c -o tsl.o tsl.c
/freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -DDESTLIB=\"/usr/lib\" -I ../libs/include   -c -o util.o util.c
/freespace/home/umeboshi/workspace/emsdk/emscripten/1.37.27/emcc -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -DDESTLIB=\"/usr/lib\" -I ../libs/include   -c -o compresslib.o compresslib.c
Linking bible ...
WARNING:root:�[33memcc: cannot find library "editline"�[0m
done
Running emcc...
~/workspace/EM-ports/foo
(main) �]0;umeboshi@bard: ~/workspace/EM-ports/foo�umeboshi@bard:~/workspace/EM-ports/foo$ exit

Script done on Wed 03 Jan 2018 03:00:40 AM CST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.