mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2025-12-14 16:34:49 +08:00
22 lines
705 B
Bash
Executable File
22 lines
705 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#
|
|
# Please make sure that the following things are OK:
|
|
#
|
|
# 1. You have installed the arm-elf-tools already.
|
|
# 2. Your uClinux distribution has been installed into the directory of '/opt/em85xx/'.
|
|
#
|
|
|
|
rm config.cache config.status -f
|
|
PREFIX=/home/hejia/work/crosscp/local
|
|
CC=arm-linux-gcc \
|
|
CFLAGS="-I/home/hejia/work/crosscp/crosstool/arm-linux/include -I${PREFIX}/include" \
|
|
CXXFLAGS="-I/home/hejia/work/crosscp/crosstool/arm-linux/include -I${PREFIX}/include" \
|
|
LDFLAGS="-L/home/hejia/work/crosscp/crosstool/arm-linux/lib -L${PREFIX}/lib" \
|
|
./configure --prefix=${PREFIX} \
|
|
--enable-procs \
|
|
--build=i686-linux \
|
|
--host=arm-linux \
|
|
--target=arm-linux \
|
|
--enable-customial
|