mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2025-12-08 19:46:04 +08:00
50 lines
1.7 KiB
Bash
Executable File
50 lines
1.7 KiB
Bash
Executable File
#!/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
|