forked from VincentWei/MiniGUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildlib-uclinux-m68k-elf
executable file
·49 lines (46 loc) · 1.72 KB
/
buildlib-uclinux-m68k-elf
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/sh
#
# Please make sure that the following things are OK:
#
# 1. You have installed the m68k-elf-tools already.
# 2. Your uClinux distribution has been installed into the directory of '/opt/uClinux/uClinux-dist'.
# 3. You configured the uClinux to use uClibc, and have configured uClibc to support pthread.
# 4. You have made the uClinux distribution.
# 5. You have made a symbol link of "uClibc" to the correct uClibc directory.
#
rm config.cache config.status -f
CC=m68k-elf-gcc \
CFLAGS="-m68000 -Os -I/opt/uClinux/uClinux-dist/lib/uClibc/include -I/opt/uClinux/uClinux-dist/linux-2.4.x/include -fno-builtin -mid-shared-library -mshared-library-id=0 " \
LDFLAGS="-Wl,-elf2flt -Wl,-move-rodata -Wl,-shared-lib-id,0 -Wl,-elf2flt -Wl,-move-rodata -L/opt/uClinux/uClinux-dist/lib/uClibc/lib -Wl,-R,/opt/uClinux/uClinux-dist/lib/uClibc/libc.gdb -lc" \
./configure --prefix=/opt/uClinux/uClinux-dist/minigui/m68k-elf/ \
--build=i386-linux \
--host=m68k-elf-linux \
--target=m68k-elf-linux \
--disable-shared \
--disable-procs \
--with-osname=uclinux \
--disable-standalone \
--enable-incoreres \
--with-style=flat \
--disable-micemoveable \
--disable-cursor \
--disable-textmode \
--enable-dummyial \
--enable-mc68x328ial \
--disable-nativeial \
--disable-qvfbial \
--disable-qpfsupport \
--disable-ttfsupport \
--disable-type1support \
--disable-latin9support \
--disable-gbksupport \
--disable-big5support \
--disable-unicodesupport \
--disable-savebitmap \
--disable-jpgsupport \
--disable-pngsupport \
--disable-imegb2312 \
--disable-imegb2312py \
--disable-aboutdlg \
--disable-savescreen \
--enable-tinyscreen