whitequark
7a9975ab5a
Add a stub C++ standard library.
...
This is necessary to build libunwind.
2015-07-26 12:49:21 +03:00
whitequark
f5cc6fb72d
Don't use clang for anything except or1k.
2015-07-26 10:00:58 +03:00
whitequark
d03dabb460
common.mak: Pass -fexceptions to clang and clang++.
...
This results in generation of .eh_frame sections. These sections
can be discarded during final linking, or included if exception
handling is desired. For exception handling to work, all sources
must be built with -fexceptions.
2015-07-26 03:30:21 +03:00
whitequark
69c2a705bf
common.mak: use clang/clang++ to compile C/C++ sources.
...
Note that -integrated-as is not active by default on OR1K,
so we're still shelling out to binutils to assemble.
It is not yet possible to build everything using -integrated-as.
2015-07-26 03:28:37 +03:00
whitequark
0f47876d2e
common.mak: remove RANLIB.
...
`ranlib` is not necessary on any system we can possibly build for,
as it is superseded by `ar s` for the last ten years or so (at least).
Thus, change ar invocations to `ar crs`, also removing a `l` flag
that is ignored by binutils.
2015-07-26 03:20:23 +03:00
whitequark
f500b906e6
common.mak: remove AS.
...
$(AS) was never used: $(assemble) invokes the C compiler instead.
In case of LLVM, this will allow us to consistently use the LLVM
internal assembler for both inline assembly in C and assembly
sources; so, avoid ever invoking binutils as explicitly.
2015-07-26 02:46:03 +03:00
Florent Kermarrec
438a0856c5
misoclib/cpu: merge git.py in identifier
2015-05-02 18:42:33 +02:00
Florent Kermarrec
e8c01ff4aa
do more test with last changes fix small issues
2015-05-02 16:22:38 +02:00
Sebastien Bourdeauducq
c7361f1cdf
software/common.mak: fix alignment in quiet output
2015-04-03 17:43:29 +08:00
Florent Kermarrec
2c51adcd68
misoclib: better organization (create cores categories: cpu, mem, com, ...)
2015-02-28 09:40:44 +01:00
Sebastien Bourdeauducq
1c08aeb21c
Initial mor1kx (OpenRISC) support
...
Based on milkymist-ng-mor1kx by Stefan Kristiansson
2014-05-14 10:24:56 +02:00
Sebastien Bourdeauducq
fce46ac0ca
Simplify use of external targets/platforms/cores + add default platform in targets
2014-02-16 14:51:52 +01:00
Sebastien Bourdeauducq
fca0b968e7
generate linker memory map, move all generated files into the same folder
2013-11-24 19:50:17 +01:00
Sebastien Bourdeauducq
75d25af3aa
cosmetic changes
2013-11-10 16:12:24 +01:00
Robert Jordens
de87149c8c
common.mak: drop the echo from the version tag finding, did not work here, use python -c
...
Signed-off-by: Robert Jordens <jordens@gmail.com>
2013-11-10 13:17:37 +01:00
Sebastien Bourdeauducq
e4db7d1c7f
common.mak: specify python3
2013-11-10 11:29:27 +01:00
Robert Jordens
4fc301ceba
common.mak: -Os instead of -O3, smaller bios (<32k)
2013-11-10 10:51:05 +01:00
Sebastien Bourdeauducq
d7a4d8b66e
use git commit id as version
2013-11-09 16:38:44 +01:00
Sebastien Bourdeauducq
0b881d934f
rename milkymist-ng to MiSoC
2013-11-09 15:27:32 +01:00
Sebastien Bourdeauducq
d487dc607f
software: add nofloat libbase for size-optimized binaries
2013-05-19 12:41:40 +02:00
Yann Sionneau
301008cd0c
Some Makefile love
2013-05-12 14:24:18 +02:00
Sebastien Bourdeauducq
3640cab439
software/common.mak: add C++ definitions
2013-03-24 16:11:53 +01:00
Sebastien Bourdeauducq
20003f0ada
software: go back to GCC
2013-02-16 23:41:42 +01:00
Sebastien Bourdeauducq
c5c29199be
software: run the assembler ourselves to prevent future time wastage due to breakage of our custom Clang toolchain
2013-01-10 17:20:31 +01:00
Sebastien Bourdeauducq
c490917aec
software/common.mak: remove -fsigned-char from CFLAGS
2013-01-10 17:14:51 +01:00
Sebastien Bourdeauducq
e4144f2c7d
software/common.mak: use -target instead of deprecated -ccc-host-triple
2013-01-10 17:13:33 +01:00
Sebastien Bourdeauducq
20b137fce9
software: more flexible compilation target
2012-05-31 20:17:33 +02:00
Sebastien Bourdeauducq
ee8ef23f2f
software: use new Clang target name
2012-05-31 20:17:02 +02:00
Sebastien Bourdeauducq
e18447d166
software/common.mak: use clang + lm32-elf binutils only
2012-05-29 16:39:47 +02:00
Sebastien Bourdeauducq
d66835d3ab
software/common.mak: support changing source directory
2012-05-25 22:29:15 +02:00
Sebastien Bourdeauducq
88a909e86c
software: cleanup CFLAGS
2012-05-25 17:20:04 +02:00
Sebastien Bourdeauducq
473c75898e
software: include.mak -> common.mak
2012-05-24 19:02:59 +02:00