-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
ncurses-build.sh
31 lines (18 loc) · 863 Bytes
/
ncurses-build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
#src_env.sh
#make original first to get the make_hash and make_keys files
./configure
make
cd /ncurses/ncurses
#chmod to read only on "make_hash make_keys report_offsets"
tar -xzf make_hash make_keys report_offsets tmp.tar
cd ..
#grep and comment out or delete these lines from makefile
#make_keys$(BUILD_EXEEXT) : \ grep then 17 lines delete
#$(BUILD_CC) -o $@ $(BUILD_CPPFLAGS) $(BUILD_CCFLAGS) $(tinfo)/make_keys.c $(BUILD_LDFLAGS) $(BUILD_LIBS)
#$(BUILD_CC) -o $@ $(BUILD_CPPFLAGS) $(BUILD_CCFLAGS) $(tinfo)/make_hash.c $(BUILD_LDFLAGS) $(BUILD_LIBS)
#$(BUILD_CC) -o $@ $(BUILD_CPPFLAGS) $(BUILD_CCFLAGS) $(srcdir)/report_offsets.c $(BUILD_LDFLAGS) $(BUILD_LIBS)
emconfigure ./configure
make
#build yeilds libncurses.a and libncurses++.a
#if you get this message "error: unknown file type: access.o" it worked check the libs folder