Commit Graph

30 Commits

Author SHA1 Message Date
Augustin Cavalier
20a46bd5f9 bfd: Fix build with newer texinfo. 2017-11-11 14:01:56 +01:00
Adrien Destugues
560f4f562f Legacy binutils: do not link against Flex.
Flex is not needed, and creates some confusion when building the
binutils on Haiku. Just remove all the checks from the configure script,
so it is never used.
2016-07-24 18:10:22 +02:00
Simon South
f2b5a31fc1 binutils (legacy): ld: Set ELF interpreter to "/system/runtime_loader"
This aligns legacy ld with the changes committed in 0b1666c.

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2015-11-02 21:10:16 +01:00
Simon South
465fb4d4a7 gcc2: Allow the user to build non-PI executables
This aligns legacy gcc with the changes to gcc4 committed in 4192115 and
the two subsequent commits.  It also disables legacy ld's default
behaviour of recursively resolving shared-library dependencies at link
time, preventing missing-library warnings during the build and aligning
ld's behaviour with that of more recent versions.

gcc2:

* CPP_SPEC: Replace non-existent command-line options with valid
  equivalents.
* CC1_SPEC: Remove non-existent "no-fpic" option; add "fno-pic" and
  "fno-PIC" as options that disable the generation of
  position-independent code; use "-fPIC" by default.
* LINK_SPEC: Pass "-shared" to the linker only if it was passed to gcc;
  output position-independent executables by default, exporting all
  symbols to match the behaviour of "-shared"; when building a
  dynamically linked executable, do not recursively add shared libraries
  as dependencies but do allow unresolved symbols in them; specify
  "-Bsymbolic" only when building a shared library.
* All: Wrap lines at 80 columns; use more compact notation where
  available.

ld:

* Do not recursively resolve shared-library dependencies when building
  an executable if the "--no-add-needed" and "--allow-shlib-undefined"
  options are in effect.  This effectively backports binutils commits
  8fbb09e and 4706eab.

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2015-11-02 21:09:55 +01:00
Oliver Tappe
d0613f2026 Change format of version strings to full date, separated by underscore 2013-05-19 14:38:52 +02:00
Oliver Tappe
278de7bc92 Bump versions of legacy compiler and binutils
* let's have a PM-specific version to lessen confusion
2013-04-21 23:21:14 +02:00
Oliver Tappe
9f9e588ceb Drop another .info target that triggers invocation of makeinfo.(cherry picked from commit af2683a443) 2013-04-19 21:58:29 +02:00
Oliver Tappe
e925619d1f Trying to fix #8063 (failure to build gcc2 when updating info files):
* remove all *.info targets so the gcc2 build system doesn't
  try to update them, as that doesn't always work because of
  apparent incompatibilities with newer makeinfo versions

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@42999 a95241bf-73f2-0310-859d-f6bbb57e9c96
(cherry picked from commit 32fb726909)
2013-04-19 21:58:21 +02:00
Oliver Tappe
cb66866b95 * drop 'packages/contents' from base paths again (we are back to
using /boot/system, /boot/common and /boot/home/config
  as packagefs mount-points)

git-svn-id: file:///srv/svn/repos/haiku/buildtools/branches/package-management@40804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-17 17:02:44 +02:00
Oliver Tappe
e62f027fec circumvent strange problems during build of gprof ('no objective-c compiler found') caused by our current make version (3.82)
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@40648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 22:31:44 +00:00
Oliver Tappe
1e7dbaf732 * update gcc2 version date to 100420 (today)
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@36376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 16:26:47 +00:00
Oliver Tappe
03890535ff * merged 32bit-wchar_t branches of buildtools and haiku back into
the respective trunk

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@31443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 10:30:09 +00:00
Ingo Weinhold
b3ad9db729 Bumped version.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@28325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-25 14:14:42 +00:00
Ingo Weinhold
4e3fe558a1 No longer define __BEOS__ for target Haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@28306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-23 21:47:38 +00:00
Ingo Weinhold
36bbacfebd Updated version string, preparing for the migration.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-23 22:47:35 +00:00
Ingo Weinhold
e5fca722e8 Manually updated the generated build system files.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-22 02:17:10 +00:00
Ingo Weinhold
0205e9e9e6 Missing in the Haiku config.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-22 02:16:24 +00:00
Ingo Weinhold
4ca3619adc Reverted r24511 and and r24508.
Why did I even consider running the current autotools against almost two
years old code? Of course it wouldn't work.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-22 01:27:52 +00:00
Ingo Weinhold
c063cadd81 Regenerated due to changed Makefile.am.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-21 22:01:14 +00:00
Ingo Weinhold
8248066f63 Applied Haiku related changes from non-legacy binutils. Still untested.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-21 21:56:45 +00:00
Ingo Weinhold
4e2b509a78 * Added Haiku cases in configure.
* Rebuilt the build system using the patched automake/-conf/libtool.
* Didn't touch ltconfig, libtool.m4, and lt-*. They look somehow
  obsolete. Need to recheck later.

NOTE: Those changes are untested yet. Don't update!


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-21 16:38:40 +00:00
Ingo Weinhold
df8195dfa4 Applied r22729 to the configure.in files, too.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-26 01:52:48 +00:00
Ingo Weinhold
76f9da413c Patch by tombhadac (slightly adjusted by myself): The binutils configure
scripts accept makeinfo versions 4.x with x >= 10 now, too.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-25 22:25:24 +00:00
Oliver Tappe
9caea1f812 * mixed and matched code from binutils-2.15 in order to avoid crashing the
loader onnewer BeOS versions.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-22 11:54:24 +00:00
Oliver Tappe
f15a44214d * added comment about the patches that have been applied
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-22 10:51:02 +00:00
Oliver Tappe
ac65caadfb * fixed silly problem with as not accepting a divide (it interpreted it as
a start of comment instead, tsk!)


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-21 23:11:25 +00:00
Oliver Tappe
0aa3a3d9db * updated binutils to 2.17, most problems should be solved now...
except one: the binaries produced by this version of binutils crashes the loader of
  BeOS versions BONE, Dano (and probably Zeta, too). That's a pity, but I currently
  do not know how to fix this (as the fix available for older versions of binutils
  does not work anymore).



git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-21 21:17:52 +00:00
Oliver Tappe
9283ff9dee * updated binutils to 2.17, most problems should be solved now...
except one: the binaries produced by this version of binutils crashes the loader of
  BeOS versions BONE, Dano (and probably Zeta, too). That's a pity, but I currently
  do not know how to fix this (as the fix available for older versions of binutils
  does not work anymore).



git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-21 21:11:47 +00:00
Oliver Tappe
9cca43537c * added missing changes to version info I forgot to commit ages ago...tsk!
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 15:16:37 +00:00
Ingo Weinhold
b67b6a17a6 Moved the old binutils to their new home.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-22 15:54:23 +00:00