This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG for lots more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi.
A successfull Crosstool-NG build (i686 -> arm-unknown-eabi) was run by me.
Thanks very much for the tool!
But I have several remarks, in order to inform on things that did not go smoothly:
1. It was a build for a bare-metal box, thus newlib's 'libgloss' was
disabled (i.e. no system calls, thus gcc is not able to produce
executables for now).
The Crosstool-NG stages 'libelf' and 'binutils for target' are thus
can not be built, but I did not find a better way to cancel them than
editing directly the 'steps.mk'
--- userland/lib/ct-ng.1.18.0/steps.mk.orig 2013-03-26 23:45:20.000000000 +0200
+++ userland/lib/ct-ng.1.18.0/steps.mk 2013-03-26 23:45:38.000000000 +0200
@@ -30,8 +30,6 @@
libc \
cc_for_build \
cc_for_host \
- libelf_for_target \
- binutils_for_target \
debug \
test_suite \
finish \
I did not find a way to configure this behaviour via a command line of 'ct-ng'.
By the way 'libelf' could be built, but the deficiencies of its
'configure.in' file or maybe of Autoconf itself do not allow. There
are plenty of places in its 'configure.in' file where the ability of
compiler to build executables is checked (AC_PROG_CC, but surprisingly
AC_PROG_CPP, AC_HEADER_STDC, AC_CHECK_HEADERS, AC_TRY_COMPILE try to
link too). But linking is not needed for the building of 'libelf' ...
2. I have built the cross tools on a RHEL 4.7 (i686) server.
Surprisingly, the 'configure' of 'ct-ng' went ok,
requiring me only to put a recent versions of 'bash', 'libtool', 'automake'
and 'autoconf' on the PATH. But lately, when I did 'make', it did not
succeed several times until I have installed a recent versions of GNU
'bison', 'm4', 'tar' and additionally put a link 'gm4' to the new
'm4'.
3. 'ltrace' and 'strace' were not built, probably for good
reasons. 'strace' complained that it does't support eabi of target platform.
Thanks, regards,
Dima.
--
For unsubscribe information see http://sourceware.org/lists.html#faq
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |