1 Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. |
1 Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. |
2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 |
3 |
4 This code is free software; you can redistribute it and/or modify it |
4 This code is free software; you can redistribute it and/or modify it |
5 under the terms of the GNU General Public License version 2 only, as |
5 under the terms of the GNU General Public License version 2 only, as |
6 published by the Free Software Foundation. |
6 published by the Free Software Foundation. |
36 is known to work with binutils 2.17 and binutils 2.19.1. Download a |
36 is known to work with binutils 2.17 and binutils 2.19.1. Download a |
37 copy of the software from http://directory.fsf.org/project/binutils or |
37 copy of the software from http://directory.fsf.org/project/binutils or |
38 one of it's mirrors. Builds targetting windows should use at least |
38 one of it's mirrors. Builds targetting windows should use at least |
39 2.19 and currently requires the use of a cross compiler. |
39 2.19 and currently requires the use of a cross compiler. |
40 |
40 |
|
41 Binutils should be configured with the '--disable-nls' flag to disable |
|
42 Native Language Support, otherwise you might get an "undefined |
|
43 reference to `libintl_gettext'" if you try to load hsdis.so on systems |
|
44 which don't have NLS by default. It also avoids build problems on |
|
45 other configurations that don't include the full NLS support. |
|
46 |
41 The makefile looks for the sources in build/binutils or you can |
47 The makefile looks for the sources in build/binutils or you can |
42 specify it's location to the makefile using BINTUILS=path. It will |
48 specify it's location to the makefile using BINUTILS=path. It will |
43 configure binutils and build it first and then build and link the |
49 configure binutils and build it first and then build and link the |
44 disasembly adapter. Make all will build the default target for your |
50 disasembly adapter. Make all will build the default target for your |
45 platform. If you platform support both 32 and 64 simultaneously then |
51 platform. If you platform support both 32 and 64 simultaneously then |
46 "make both" will build them both at once. "make all64" will |
52 "make both" will build them both at once. "make all64" will |
47 explicitly build the 64 bit version. By default this will build the |
53 explicitly build the 64 bit version. By default this will build the |