Commit Graph

27 Commits

Author SHA1 Message Date
Zihao Yu d163993adb Makefile.compile: do not echo submake commands 2017-08-12 15:59:26 +08:00
Zihao Yu 981cf692e6 Makefile: output short message while compiling/linking 2017-08-12 15:58:53 +08:00
Zihao Yu 134d5c1042 Makefile.compile: only one klib target 2017-08-12 15:55:44 +08:00
Allen 7f81a68a9e Merge branch 'riscv32-emu' of https://git.njuics.cn/syslab17/nexus-am into riscv32-emu 2017-08-06 11:26:55 +08:00
Allen dc66ef0222 Implemented riscv32-emu Turing machine.
1. passed cputests.
2. Changed char to signed char in cputest/tests/movsx.c.
2017-08-06 11:17:48 +08:00
Zihao Yu 3cfde6d300 apps,nanos-lite,loader: use fs api to load the first prog 2017-08-03 23:59:53 +08:00
Yanyan Jiang 23cb0c924a Merge branch 'g++-version' into 'master'
Makefile: do not provide the version of gcc/g++

See merge request !127
2017-07-29 13:06:13 +08:00
Zihao Yu 048056d5b9 Makefile: do not provide the version of gcc/g++
* debian 9 uses gcc/g++-6
* install g++-mips-linux-gnu, then the mips-linux-gnu-g++ will point to
  g++ with a version number
2017-07-29 12:39:34 +08:00
Zihao Yu 4c98ba485f Makefile: add objcopy 2017-07-29 12:10:30 +08:00
Yanyan Jiang 2e192b5366 Merge branch 'no-stringop' into 'master'
Makefile.compile: do not generate string operations for x86

See merge request !108
2017-07-11 18:46:39 +08:00
Zihao Yu b03f418fe6 Makefile.compile: do not generate string operations for x86 2017-07-11 17:17:47 +08:00
Wang Huizhe e8df467b98 build: forbid compiler to insert unexpected putchar/puts 2017-07-07 20:53:04 +08:00
Yanyan Jiang f3ab1c7540 Merge branch 'makefile' into 'master'
Makefile: propagate -j option to submake

See merge request !101
2017-07-04 19:12:29 +08:00
Zihao Yu c97d9e541b Makefile: propagate -j option to submake 2017-07-04 19:04:00 +08:00
Zihao Yu 73596f368c am: add riscv64-rocket 2017-07-04 19:01:51 +08:00
Yanyan Jiang dc94fb9266 Merge branch 'fno-pic' into 'master'
Makefile.compile: add -fno-pic to x86 CFLAGS

See merge request !91
2017-06-27 18:57:50 +08:00
Zihao Yu 74bb7e03c2 Makefile.compile: add -fno-pic to x86 CFLAGS
* debian 9.0 enbale PIC for -m32 by default
2017-06-27 15:05:23 +08:00
Yanyan Jiang 78628b978b makefie, add -D__ISA_XX__ 2017-06-19 09:24:34 -04:00
yzh da51267c04 Makefile.compile: add -march=i386 while compiling to x86
* this can prevent generating instructions newer than i386,
  which makes NEMU easier to implement
2017-06-11 23:08:21 +08:00
yzh 7383874427 Makefile.compile: rename REAL_ARCH to ISA
* this matches the description in SPEC.md
2017-06-05 23:24:59 +08:00
Yanyan Jiang 7544e52856 refactor makefile 2017-06-02 08:40:03 -04:00
yzh dd6bdc63a4 Makefile: use -MMD instead of -MD
* -MMD will not generate system header files
2017-05-30 13:18:14 +08:00
yzh af942ffa34 Makefile.compile: refactor ARCH
* split ARCH into REAL_ARCH and PLATFORM
  * the same REAL_ARCH shares the same arch-dependent flags
  * different PLATFORM of the same REAL_ARCH may have some different flags
2017-05-30 13:10:04 +08:00
bingo edb74abb35 add compile option in arch mips32-minimal 2017-05-30 11:40:00 +08:00
Yanyan Jiang ec6f9cdbe2 distribute makefile to each dirs 2017-05-21 11:22:51 -04:00
Yanyan Jiang 51d5e300f3 standalone makefile works 2017-05-21 10:10:24 -04:00
Yanyan Jiang 564f5f3dcf move out makefile 2017-05-21 09:17:11 -04:00