Palmer Dabbelt
ef9bf99281
Merge pull request #232 from riscv/windows
Allow Windows builds
9 years ago
Palmer Dabbelt
237c881633
Don't use the system zlib
This doesn't work on all our target platforms (Windows, for example).
9 years ago
Palmer Dabbelt
f8d9835248
Merge pull request #230 from riscv/gcc-7.1
Use the GCC 7.1 release
9 years ago
Palmer Dabbelt
4d4068e468
Add a "--with-host" argument
I need to set this in order to build the Windows tools.
9 years ago
Andrew Waterman
210aa3ee85
Merge pull request #231 from kito-cheng/master
Fix --with-headers= path for newlib toolchain
9 years ago
Kito Cheng
e04630d2b2
Fix --with-headers= path for newlib toolchain
- Wrong --with-headers= path will cause libgcov build incorrectly.
9 years ago
Palmer Dabbelt
46fddc60cd
Use the GCC 7.1 release
9 years ago
Palmer Dabbelt
9f1f197120
Merge pull request #229 from riscv/cmodel
Let users specify the "-mcmodel" argument to libc/libgcc
9 years ago
Palmer Dabbelt
f250fe9732
Add the "--with-cmodel" configure argument
This lets users select the code model when building the tools.
9 years ago
Palmer Dabbelt
5aa6006fb0
Pass CFLAGS_FOR_TARGET to the newlib libgcc/libc builds
This lets users pass extra CFLAGS to the embedded library builds, which
lets us do things like target the medany code model.
9 years ago
Palmer Dabbelt
192f6fb114
Merge pull request #226 from riscv/gcc-7
Move GCC to the 7 release branch
9 years ago
Palmer Dabbelt
aa1cec43fc
Move GCC to the 7 release branch
GCC has created a stable branch upstream for the 7 release series. This
patch moves our GCC sources over to that branch, just like we did for
binutils.
9 years ago
Palmer Dabbelt
0c8f87d165
Install and use gcc-4.8, for C++11 support
9 years ago
Palmer Dabbelt
61b9e1f5b8
Bump binutils and GCC, passed the tests
9 years ago
Palmer Dabbelt
050bb7e60a
Bump binutils-gdb, to add GDB support back
9 years ago
Kito Cheng
3b00a86e60
Split build process for newlib to 2 pass
9 years ago
Andrew Waterman
010fac4fcb
bump everything
9 years ago
Andrew Waterman
ff21e26eb8
Use qemu for check-gcc-newlib
gdb-sim accounted for nearly all test failures, so don't use it for now.
9 years ago
Andrew Waterman
49e3a6f647
Improve error message for unavailable newlib multilibs ( #214 )
For some reason, a Newlib multilib build includes a "default" library
in addition to the multilibs ones. This results in confounding error
messages when an invalid multilib is requested on the GCC command line.
Now, it reports a more sensible "cannot find -lc".
9 years ago
Andrew Waterman
f4fa6730d6
bump; change linux default to RVC
9 years ago
Andrew Waterman
ee0cf24817
Rework multilibs and bump everything
9 years ago
Andrew Waterman
914224e091
Add zlib to dependency list
9 years ago
Andrew Waterman
ff85f7c8de
bump gcc
9 years ago
Andrew Waterman
337a76dc0f
bump binutils
9 years ago
Andrew Waterman
add8db0f04
Don't force TLS to be disabled
9 years ago
Andrew Waterman
d5c06eb9d9
Default arch is rv64g, not ERROR
9 years ago
Andrew Waterman
ef50015921
bump binutils, gcc, glibc
9 years ago
Stefan O'Rear
34e199df17
Document --with-arch and --with-abi
9 years ago
Kito Cheng
e3e50c50f0
Disable tls for elf/newlib toolchain
9 years ago
Kito Cheng
49e5187255
Update instruction for check-gcc-newlib, --disable-float is gone.
9 years ago
Kito Cheng
da9b009839
Auto detect default value for --with-abi if not given
9 years ago
Andrew Waterman
f670e2f5c6
Multilibs go in /lib${XLEN}/${ABI}/, e.g. /lib64/lp64/
9 years ago
Andrew Waterman
9304da8aba
bump linux headers to 4.6.2
9 years ago
Andrew Waterman
15f25ba052
Incorporate new GCC flags and multilib support
9 years ago
Andrew Waterman
805ee1d3bf
avoid non-standard predefined macros
9 years ago
Andrew Waterman
ac0778a475
Remove useles patch files
9 years ago
Palmer Dabbelt
818b1ec619
Move newlib to a submodule
10 years ago
Andrew Waterman
72ea34e9dc
Use builtin linker script for newlib, not a custom one
9 years ago
Kito Cheng
87ec00322e
Add --enable-gcc-checking to configure option ( #191 )
10 years ago
Andrew Waterman
816ca93c36
Remove incorrectly formatted and glib headers
10 years ago
Andrew Waterman
910ea19c51
Fix interaction of -mno-float with -march
10 years ago
Andrew Waterman
a1e7a925c1
Overhaul floating-point command-line arguments
- -march controls which instructions may be emitted, and does not
affect ABI.
- -mno-float is equivalent to passing neither F for D to -march;
-msingle-float is equivalent to passing F but not D to -march;
and -mdouble-float is equivalent to passing F and D to -march.
- -mfloat-abi controls which calling convention is used: "soft" means
no args passed in registers; "single" means only single-precision
values are passed in regisers; "double" means single- and
double-precision values are passed in registers.
- -mfloat-abi defaults to "soft" if the D extension is not present,
or "double" if it is.
- GCC will issue an error if -mfloat-abi requires an extension not
provided by -march, but vice-versa is OK.
Closes #187 (I hope).
@kito-cheng can you test this and let me know what I need to fix?
10 years ago
Andrew Waterman
1261c826a4
Fix misleading indentation warning
10 years ago
Andrew Waterman
40ee1d877b
Don't save/restore fcsr in setjmp/longjmp (breaks ABI)
10 years ago
Andrew Waterman
55f83087a7
Support an RV32F compiler
Soft-float calling convention is default, but an alternate hard-float
calling convention (with doubles passed as in soft-float, but floats
passed as in hard-float) is supported.
10 years ago
Palmer Dabbelt
7d0993b6df
Fix some README.md formatting
github requires 4 spaces before a block to make it produce code blocks.
10 years ago
Kito Cheng
52f612d020
Install gcc's target shared library to $sysroot/usr/lib for easier qemu use
10 years ago
Kito Cheng
b67b50ada0
Add support for run testsuite with qemu
10 years ago
Andrew Waterman
80007506c6
bump glibc
10 years ago
Andrew Waterman
52555d7df9
bump binutils
10 years ago