This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ 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] |
In other words the "binutils for the target" are for sole use by the toolchain and nothing more, right? If so, that's fair enough, I just wanted to be clear on this.At the end of the process binutils for the target architecture (build=x86_64, host=target=powerpc) were also successfully "installed", though I cannot find any of them, apart from the shared objects which are all in sysroot! Executables like "ar", "ld" etc which should have been compiled and installed to run on the target system (powerpc) cannot be found anywhere (only those for the host arch are present). Am I missing a trick here or do I have to compile and install another set of binutils from source for my target image?
The binutils for target will only build some of the binutils libraries.
They are needed to build stuff like oprofile, and have to match the
version of binutils used for in the toolchain. That's why there is the
option.
To build the complete binutils to run on the target (eg. ar, ld...)No, no! I am happy with the "cross" build as it is. I am also happy to do one additional step and build binutils for the target - I am going to use the cross compiler from the toolchain to build *all* of the software for the target system anyway (including the kernel, another gcc etc) so one additional step won't make a huge difference.
means to build a cross-native toolchain, which is not currently
supported by crostool-NG ( although I'm working on it, but there's
only 24h in a day! ).
No problem!As part of building the final image I also need to install GCC (which would only be run on the target arch, i.e. build=x86_64, host=target=powerpc) hence why I need all binutils executables (like ar, ld etc) also installed in that target.
As said above, not currently supported. Sorry... :-/
-- 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] |