#
978b76b6 |
|
09-Dec-2012 |
Landon Fuller <landonf@bikemonkey.org> |
Revert "Include FatELF utils in the gcc4 cross tools build" This reverts commit b0c5eba20fc00417d46823d8fc51ada5959d8f91.
|
#
b0c5eba2 |
|
08-Dec-2012 |
Landon Fuller <landonf@bikemonkey.org> |
Include FatELF utils in the gcc4 cross tools build
|
#
d0064875 |
|
07-Nov-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Force POSIX-locale when building the buildtools * using a non-POSIX locale may break the build (especially makeinfo), so we explicitly set the locale to POSIX
|
#
4107ac9c |
|
30-Oct-2012 |
Jérôme Duval <jerome.duval@gmail.com> |
Cleanup of remains of subversion in the build system
|
#
aaeadfcb |
|
16-Aug-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Do a separate libgcc build for the kernel as well. Turns out that libgcc is needed, for some reason building the kernel with -O0 does not end up referencing libgcc but -O2 does. A separate build of it is done with -mno-red-zone, same reason as for libsupc++. Ended up being easy to rebuild with different CFLAGS: previously I'd tried doing `CFLAGS="-mno-red-zone" make` in the libgcc dir which didn't override, the correct way is `make CFLAGS="-mno-red-zone"`
|
#
c864ba1a |
|
16-Aug-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Build a separate libsupc++ for the kernel with correct flags. Kernel mode code on x86_64 needs to be built with -mno-red-zone as interrupts would corrupt the red zone if it were in use. However, the kernel is linked with libsupc++, which was not compiled with -mno-red-zone. If an interrupt occurred in libsupc++ code the red zone would get corrupted. This was causing random panics, particularly under heavy system load. Therefore, on x86_64 a separate build of libsupc++ with -mno-red-zone is now done for the kernel to use. Note: this commit will require a rerun of configure and rebuild of cross tools.
|
#
3af8da0e |
|
15-Apr-2012 |
Jérôme Duval <jerome.duval@gmail.com> |
use system zlib when cross building gcc4 to fix #8242 * this add a dependency on package zlib1g-dev for Linux systems.
|
#
81eb68f2 |
|
04-Apr-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Fixed a compilation failure for the x86_64 toolchain. This appears to be a problem with GCC's build system: it defaults to having multilib enabled, but if it is explicitly enabled with --enable-multilib, the build fails. Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
|
#
c59b279b |
|
19-Jan-2012 |
Jérôme Duval <jerome.duval@gmail.com> |
Added workarounds and options for gcc 4.6.2 * add -Wno-unused-but-set-variable for gcc 4.6.x with a TODO * fix warnings about wrong size of pointer cast in ioapic.cpp and AudioBuffer.cpp
|
#
312e961c |
|
30-Oct-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Closing #8063: * touch all .info files before trying to build the gcc4 buildtools in order to avoid the dependency on makeinfo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43012 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
901c33fc |
|
24-May-2011 |
Michael Lotz <mmlr@mlotz.ch> |
Replace the $(...) syntax with backticks instead. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41721 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
266681e2 |
|
14-Jul-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Nathan Mentley: Build the x86-64 build tools with multilib support. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37522 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2222d055 |
|
24-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Introduced new header directory "config", which ATM contains HaikuConfig.h and types.h. The idea is to provide a basic architecture/compiler abstraction by defining types and macros that allow the posix/ and os/ headers to be mostly architecture/compiler agnostic. * Adjusted the posix/ and os/ headers accordingly. * <SupportDefs.h>: Introduced B_PRI* and B_SCN* macros similar to the PRI* and SCN* macros defined in <inttypes.h>, just for the BeOS/Haiku [u]int* types and some POSIX types (e.g. off_t, dev_t, ino_t) that don't have POSIX macros. Also the B_PRI* and B_SCN* macros are available unconditionally, unlike the <inttypes.h> macros, which require __STDC_FORMAT_MACROS to be defined in C++ mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34214 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
60d8d8fc |
|
23-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added -j<n> option to configure. It is passed to the build_cross_tools[_gcc4] script which in turn passes it to make. Cores and hyperthreads are plentiful these days; no need to let most of them idle when building the cross tools. * Sorted the configure options alphabetically again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34199 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
91446a14 |
|
09-Aug-2009 |
François Revol <revol@free.fr> |
Don't know why multilib was disabled in r29035, but we'll likely need it for arm, and m68k as well... Make it depend on haikuMachine. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32213 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
328029e1 |
|
30-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Alexander von Gluck (kallisti5) to get the PPC build going again (mostly at least). Also disables -Werror for the binutils, but those should be fixed eventually. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29804 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a16e2a1c |
|
27-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Forgot to update this reference when renaming be/ to os/. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29069 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3bdbdcb2 |
|
26-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
The default include paths have been updated from be/ to os/ so copy correspondingly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29057 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8ffb1d69 |
|
25-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Updating config for current GCC4 cross compiler. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29035 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f868be68 |
|
20-Oct-2008 |
François Revol <revol@free.fr> |
- Have OpenBSD use gmake - export MAKE to make sure submakes use it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28250 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5ca2f7aa |
|
03-Mar-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
gcc 4.1.2 conveniently saves the version number in a separate file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20319 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d0097591 |
|
04-Feb-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added shebang. Should fix bug #956. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20062 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a5b60fa8 |
|
03-Oct-2006 |
Oliver Tappe <zooey@hirschkaefer.de> |
* reverted changes of revision 18985, as Ingo has pointed out, they were useless. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18994 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
be2bd5ef |
|
01-Oct-2006 |
Oliver Tappe <zooey@hirschkaefer.de> |
* implemented a suggestion of korli: the legacy & gcc4 cross-tools are now built in separate folders ('cross-tools-legacy' and 'cross-tools-gcc4') and you can use the new cmdline-switches 'use-cross-tools' and 'use-cross-tools-gcc4' to switch between those two. Before, you always had to recompile the tools in order to switch. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18985 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
20ab75e6 |
|
06-Dec-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Adjusted build_cross_tools_gcc4 and configure to be able to build PPC build tools as well. The configure option --build-cross-tools-gcc4 has a new parameter to specify the architecture. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15382 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9743fe87 |
|
05-Dec-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
When building the gcc 4 cross tools we now configure for machine i586-pc-haiku. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15345 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6724a193 |
|
22-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Adjusted build_cross_tools[_gcc4] scripts according to the new directory layout in the buildtools module. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15083 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
307807f2 |
|
18-Nov-2005 |
Nathan Whitehorn <nwhitehorn@nowhere.fake> |
Moved FreeBSD setup to define a freebsd build platform. GCC4 apparently also requires the use of GNU Make, so told the build_cross_tools script to use 'gmake' instead of 'make' on BSD systems. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15024 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
29ef597d |
|
18-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added build_cross_tools_gcc4 script which builds gcc 4 and binutils from the sources. Added respective configure option --build-cross-tools-gcc4. * Fixed running "configure --build-cross-tools" from another directory than the source dir. The parameter to the script was missing and thus the tools were created in <sources>/generated. * Removed stdc++ lib header dir ".../debug". One is supposed to include <debug/...> to get the debug headers. * The stdc++ lib header dirs are now listed one per line in the generated BuildConfig. This works around the 512 bytes jam line length limit. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15020 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d006487564e9eae1bd065562bbb4c00c9bcd3273 |
|
07-Nov-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Force POSIX-locale when building the buildtools * using a non-POSIX locale may break the build (especially makeinfo), so we explicitly set the locale to POSIX
|
#
4107ac9cda4e76ce515596afebc11005b6e97534 |
|
30-Oct-2012 |
Jérôme Duval <jerome.duval@gmail.com> |
Cleanup of remains of subversion in the build system
|
#
aaeadfcb02fea79141251cd3a9f872d6f47fc244 |
|
16-Aug-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Do a separate libgcc build for the kernel as well. Turns out that libgcc is needed, for some reason building the kernel with -O0 does not end up referencing libgcc but -O2 does. A separate build of it is done with -mno-red-zone, same reason as for libsupc++. Ended up being easy to rebuild with different CFLAGS: previously I'd tried doing `CFLAGS="-mno-red-zone" make` in the libgcc dir which didn't override, the correct way is `make CFLAGS="-mno-red-zone"`
|
#
c864ba1a2d8525aeabd6199c01675f70f5abd7bd |
|
16-Aug-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Build a separate libsupc++ for the kernel with correct flags. Kernel mode code on x86_64 needs to be built with -mno-red-zone as interrupts would corrupt the red zone if it were in use. However, the kernel is linked with libsupc++, which was not compiled with -mno-red-zone. If an interrupt occurred in libsupc++ code the red zone would get corrupted. This was causing random panics, particularly under heavy system load. Therefore, on x86_64 a separate build of libsupc++ with -mno-red-zone is now done for the kernel to use. Note: this commit will require a rerun of configure and rebuild of cross tools.
|
#
3af8da0ef834b67f74f197291fe581f8076d9750 |
|
15-Apr-2012 |
Jérôme Duval <jerome.duval@gmail.com> |
use system zlib when cross building gcc4 to fix #8242 * this add a dependency on package zlib1g-dev for Linux systems.
|
#
81eb68f28064918f4947fb410dbb23c0c21cb8bd |
|
04-Apr-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Fixed a compilation failure for the x86_64 toolchain. This appears to be a problem with GCC's build system: it defaults to having multilib enabled, but if it is explicitly enabled with --enable-multilib, the build fails. Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
|
#
c59b279b7173bcafb8f266aa753b2f9e6c578849 |
|
19-Jan-2012 |
Jérôme Duval <jerome.duval@gmail.com> |
Added workarounds and options for gcc 4.6.2 * add -Wno-unused-but-set-variable for gcc 4.6.x with a TODO * fix warnings about wrong size of pointer cast in ioapic.cpp and AudioBuffer.cpp
|
#
312e961c5d3c1e1ad7ed99abf47666a822b51f7f |
|
30-Oct-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Closing #8063: * touch all .info files before trying to build the gcc4 buildtools in order to avoid the dependency on makeinfo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43012 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
901c33fcd07eb6b34ea56b99c93357e9e66e0181 |
|
24-May-2011 |
Michael Lotz <mmlr@mlotz.ch> |
Replace the $(...) syntax with backticks instead. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41721 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
266681e27c2c1449277a171394e7db69eb74eaf3 |
|
14-Jul-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Nathan Mentley: Build the x86-64 build tools with multilib support. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37522 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2222d0559df303a9846a2fad53741f8b20b14d7c |
|
24-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Introduced new header directory "config", which ATM contains HaikuConfig.h and types.h. The idea is to provide a basic architecture/compiler abstraction by defining types and macros that allow the posix/ and os/ headers to be mostly architecture/compiler agnostic. * Adjusted the posix/ and os/ headers accordingly. * <SupportDefs.h>: Introduced B_PRI* and B_SCN* macros similar to the PRI* and SCN* macros defined in <inttypes.h>, just for the BeOS/Haiku [u]int* types and some POSIX types (e.g. off_t, dev_t, ino_t) that don't have POSIX macros. Also the B_PRI* and B_SCN* macros are available unconditionally, unlike the <inttypes.h> macros, which require __STDC_FORMAT_MACROS to be defined in C++ mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34214 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
60d8d8fcc5005cdd8cff9861a803e5fa6a8fd725 |
|
23-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added -j<n> option to configure. It is passed to the build_cross_tools[_gcc4] script which in turn passes it to make. Cores and hyperthreads are plentiful these days; no need to let most of them idle when building the cross tools. * Sorted the configure options alphabetically again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34199 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
91446a14779404bc32099dae90c7fbceb092d2e9 |
|
09-Aug-2009 |
François Revol <revol@free.fr> |
Don't know why multilib was disabled in r29035, but we'll likely need it for arm, and m68k as well... Make it depend on haikuMachine. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32213 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
328029e178152c8eceebd40d14ff80ccf2039970 |
|
30-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Alexander von Gluck (kallisti5) to get the PPC build going again (mostly at least). Also disables -Werror for the binutils, but those should be fixed eventually. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29804 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a16e2a1c6952c33272a3630e43f199993ecbe74d |
|
27-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Forgot to update this reference when renaming be/ to os/. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29069 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3bdbdcb23eb12312b07dbe92ef2d263aa722d01a |
|
26-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
The default include paths have been updated from be/ to os/ so copy correspondingly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29057 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8ffb1d69666791d957bfb1308d21319d7dd8f77e |
|
25-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Updating config for current GCC4 cross compiler. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29035 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f868be68635cd3b6ed42cae7047b820ecea8f6a6 |
|
20-Oct-2008 |
François Revol <revol@free.fr> |
- Have OpenBSD use gmake - export MAKE to make sure submakes use it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28250 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5ca2f7aa8c4fb64497f8e768d200e2feeb35a987 |
|
03-Mar-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
gcc 4.1.2 conveniently saves the version number in a separate file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20319 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d0097591b0c2becbeb25a4a4f935481f0f26a404 |
|
04-Feb-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added shebang. Should fix bug #956. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20062 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a5b60fa88e94258f97de2fd964cba6b13f471e5f |
|
03-Oct-2006 |
Oliver Tappe <zooey@hirschkaefer.de> |
* reverted changes of revision 18985, as Ingo has pointed out, they were useless. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18994 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
be2bd5ef4b2537602e688fd2cb4c5e5add4dce50 |
|
01-Oct-2006 |
Oliver Tappe <zooey@hirschkaefer.de> |
* implemented a suggestion of korli: the legacy & gcc4 cross-tools are now built in separate folders ('cross-tools-legacy' and 'cross-tools-gcc4') and you can use the new cmdline-switches 'use-cross-tools' and 'use-cross-tools-gcc4' to switch between those two. Before, you always had to recompile the tools in order to switch. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18985 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
20ab75e64c8c4113ca0af0e8e5be8b9c9623b923 |
|
06-Dec-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Adjusted build_cross_tools_gcc4 and configure to be able to build PPC build tools as well. The configure option --build-cross-tools-gcc4 has a new parameter to specify the architecture. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15382 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9743fe8729448b92ae8c3b0c9cca17b8c2b96d7e |
|
05-Dec-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
When building the gcc 4 cross tools we now configure for machine i586-pc-haiku. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15345 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6724a1930dfdfd0f764f3169410c3d46272d4685 |
|
22-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Adjusted build_cross_tools[_gcc4] scripts according to the new directory layout in the buildtools module. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15083 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
307807f2da674c9d0f312ec72d69a1aeee9fb240 |
|
18-Nov-2005 |
Nathan Whitehorn <nwhitehorn@nowhere.fake> |
Moved FreeBSD setup to define a freebsd build platform. GCC4 apparently also requires the use of GNU Make, so told the build_cross_tools script to use 'gmake' instead of 'make' on BSD systems. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15024 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
29ef597dc60457e9133b7b24fac26190157c51a9 |
|
18-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added build_cross_tools_gcc4 script which builds gcc 4 and binutils from the sources. Added respective configure option --build-cross-tools-gcc4. * Fixed running "configure --build-cross-tools" from another directory than the source dir. The parameter to the script was missing and thus the tools were created in <sources>/generated. * Removed stdc++ lib header dir ".../debug". One is supposed to include <debug/...> to get the debug headers. * The stdc++ lib header dirs are now listed one per line in the generated BuildConfig. This works around the 512 bytes jam line length limit. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15020 a95241bf-73f2-0310-859d-f6bbb57e9c96
|