Mbed TLS程序开发指南
来自SylixOS-wiki
(版本间的差异)
Jiaojinxing (讨论 | 贡献) |
Jiaojinxing (讨论 | 贡献) |
||
第2行: | 第2行: | ||
export CC=arm-none-eabi-gcc | export CC=arm-none-eabi-gcc | ||
export AR=arm-none-eabi-ar | export AR=arm-none-eabi-ar | ||
− | |||
export SYLIXOS_BASE_PATH=/home/user/sylixos_workspace/sylixos-base | export SYLIXOS_BASE_PATH=/home/user/sylixos_workspace/sylixos-base | ||
− | |||
export CFLAGS="-mcpu=arm920t -fPIC -DSYLIXOS \ | export CFLAGS="-mcpu=arm920t -fPIC -DSYLIXOS \ | ||
-DSYLIXOS_LIB -fsigned-char -fno-short-enums -I$SYLIXOS_BASE_PATH/libsylixos/SylixOS -I$SYLIXOS_BASE_PATH/libsylixos/SylixOS/include \ | -DSYLIXOS_LIB -fsigned-char -fno-short-enums -I$SYLIXOS_BASE_PATH/libsylixos/SylixOS -I$SYLIXOS_BASE_PATH/libsylixos/SylixOS/include \ | ||
-I$SYLIXOS_BASE_PATH/libsylixos/SylixOS/include/inet -I$SYLIXOS_BASE_PATH/libcextern/libcextern/include" | -I$SYLIXOS_BASE_PATH/libsylixos/SylixOS/include/inet -I$SYLIXOS_BASE_PATH/libcextern/libcextern/include" | ||
− | |||
export LDFLAGS="-mcpu=arm920t -fPIC -shared -L$SYLIXOS_BASE_PATH/libsylixos/Debug -L$SYLIXOS_BASE_PATH/libcextern/Debug -lcextern -lvpmpdm -lm -lgcc" | export LDFLAGS="-mcpu=arm920t -fPIC -shared -L$SYLIXOS_BASE_PATH/libsylixos/Debug -L$SYLIXOS_BASE_PATH/libcextern/Debug -lcextern -lvpmpdm -lm -lgcc" | ||
− | |||
export SYS_LDFLAGS=$LDFLAGS | export SYS_LDFLAGS=$LDFLAGS |
2015年5月18日 (一) 14:36的版本
export CC=arm-none-eabi-gcc export AR=arm-none-eabi-ar export SYLIXOS_BASE_PATH=/home/user/sylixos_workspace/sylixos-base export CFLAGS="-mcpu=arm920t -fPIC -DSYLIXOS \ -DSYLIXOS_LIB -fsigned-char -fno-short-enums -I$SYLIXOS_BASE_PATH/libsylixos/SylixOS -I$SYLIXOS_BASE_PATH/libsylixos/SylixOS/include \ -I$SYLIXOS_BASE_PATH/libsylixos/SylixOS/include/inet -I$SYLIXOS_BASE_PATH/libcextern/libcextern/include" export LDFLAGS="-mcpu=arm920t -fPIC -shared -L$SYLIXOS_BASE_PATH/libsylixos/Debug -L$SYLIXOS_BASE_PATH/libcextern/Debug -lcextern -lvpmpdm -lm -lgcc" export SYS_LDFLAGS=$LDFLAGS