BenJilks
c64b5e73f5
Build: Add FreeBSD support ( #1492 )
2020-03-21 09:46:30 +01:00
Ben Wiederhake
36ba0a35ee
Travis: Cache toolchain
...
This should give a significant boost to Travis speeds, because most of the
compile time is spent building the toolchain over and over again.
However, the toolchain (or libc or libm) changes only rarely,
so most rebuilds can skip this step.
The hashing has been put into a separate file to keep it
as decoupled as possible from BuiltIt.sh.
2020-03-08 14:09:08 +01:00
Andreas Kling
c4c1ad2289
Toolchain: Build demangling into LibC except during toolchain build
2020-02-21 18:54:57 +01:00
joshua stein
5e430e4eb4
Build: add support for building on OpenBSD
...
This requires gcc8 from ports to build the Toolchain.
2020-01-02 21:03:53 +01:00
Stefano Cristiano
68d721f973
Toolchain: Fix building binutils on macOS with --enable-shared
2019-12-28 21:08:04 +01:00
Andreas Kling
4a0fb34eb8
Toolchain: Allow building shared objects
...
Here goes a small first step towards dynamic linking.
2019-12-27 16:55:10 +01:00
Stefano Cristiano
9537ce918c
Toolchain: Statically link serenity cross-compiler on macOS to keep the cross-toolchain self contained
2019-12-27 02:19:55 +01:00
joshua stein
73c953b674
Build: get rid of UseIt.sh
...
The build system uses relative paths to the toolchain binaries, so
modifying $PATH is no longer necessary, and nothing needs
$SERENITY_ROOT anymore.
2019-12-20 23:55:08 +01:00
Andreas Kling
097b8acf10
Toolchain: Use "make install" to install our LibC and LibM
2019-12-20 21:59:42 +01:00
Andreas Kling
cb6734c5e7
Toolchain: Redirect git command output to /dev/null
...
Travis is currently failing and whining about the log being too long.
It appears to be filling up with output from the git hackery.
2019-12-19 18:52:07 +01:00
Andreas Kling
0bc89df3ad
Toolchain: Fix outdated MD5 sum of binutils tarball
2019-12-19 18:43:31 +01:00
Philip Herron
c73aa662bb
Update toolchain to binutils-2.33.1 gcc-9.2.0
...
Toolchain build makes git repo out of toolchain to allow patching
Fix Makefiles to use new libstdc++
Parameterize BuildIt with default TARGET of i686 but arm is experimental
2019-12-19 18:35:03 +01:00
Nicolas Van Bossuyt
2d19072115
Toolchain: Fix indentation in BuildIt.sh ( #761 )
2019-11-11 20:07:43 +01:00
George Pickering
704f48d7f3
POSIX compliance: (most) shell scripts converted to generic shell
...
Ports/.port_include.sh, Toolchain/BuildIt.sh, Toolchain/UseIt.sh
have been left largely untouched due to use of Bash-exclusive
functions and variables such as $BASH_SOURCE, pushd and popd.
2019-11-03 09:26:22 +01:00
Larkin Nickle
f28fa616eb
Toolchain/BuildIt.sh: Use curl instead of wget
...
We already use curl for ports, so let's be consistent.
2019-09-26 20:52:13 +02:00
Andreas Kling
c1ed16c8e8
Toolchain: Oops, we can't rely on "install.sh" to build LibC/LibM.
...
When we used "make install" in the past, the "install" target would pull
in the library targets as dependencies, and everything got built that way.
Now that we use "install.sh" instead, we have to build things manually.
2019-07-22 08:48:08 +02:00
Andreas Kling
acb7710a62
Toolchain: Use "install.sh" to install LibC and LibM.
2019-07-21 21:57:22 +02:00
Andreas Kling
04b9dc2d30
Libraries: Create top level directory for libraries.
...
Things were getting a little crowded in the project root, so this patch
moves the Lib*/ directories into Libraries/.
2019-07-04 16:16:50 +02:00
Robin Burchell
f9515d56e7
BuildIt: Allow specifying MAKEJOBS rather than forcing to nprocs
2019-05-15 20:16:58 +02:00
Robin Burchell
219f2f988e
BuildIt: use set -e to fail immediately on error
...
This saves time if something goes wrong very early in the build process.
2019-05-15 20:16:58 +02:00
Andreas Kling
81a280da87
Toolchain: Make sure everything ends up in the right place in Root/
2019-05-08 15:50:24 +02:00
Andreas Kling
02b69cf06a
Toolchain: Build GCC with --with-newlib
2019-04-29 15:09:57 +02:00
VAN BOSSUYT Nicolas
3761bc3ed7
Toolchain: The toolchain script is now working 🎉
2019-04-29 13:12:20 +02:00
VAN BOSSUYT Nicolas
4977fd22b8
Toolchain: Useit.sh finish and added an install target for the libc's Makefile and a bit of ground work for a gcc port
2019-04-29 13:12:20 +02:00
VAN BOSSUYT Nicolas
be1100497d
Toolchain: GCC and binutils are now configure correctly
2019-04-29 13:12:20 +02:00
VAN BOSSUYT Nicolas
4b05ec9549
Toolchain: Added build script (wip)
2019-04-29 13:12:20 +02:00