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]

g++: error: unrecognized command line option '-all-static'


Hi,
I'm trying to build a static toolchain. Unfortunately this doesn't work
at all. I attach the config (even though it is kind of the default
config) and the build.log
<https://www.dropbox.com/s/u7bjzzvnkgdlfb8/build.log?dl=1>.

I'm using ct-ng 1.20.0. Here are the steps I did.

$ ct-ng arm-unknown-linux-gnueabi
$ ct-ng menuconfig (only activated "Build Static Toolchain")
$ ct-ng build

[INFO ]  Installing binutils for host
[EXTRA]    Configuring binutils
[EXTRA]    Prepare binutils for static build
[EXTRA]    Building binutils
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    gmake[5]: *** [size] Error 1
[ERROR]    gmake[4]: *** [all-recursive] Error 1
[ERROR]    gmake[3]: *** [all] Error 2
[ERROR]    gmake[2]: *** [all-binutils] Error 2
[ERROR]    g++: error: unrecognized command line option '-all-static'
[ERROR]    gmake[5]: *** [ld-new] Error 1
[ERROR]    g++: error: unrecognized command line option '-all-static'
[ERROR]    gmake[5]: *** [incremental-dump] Error 1
[ERROR]    gmake[4]: *** [all-recursive] Error 1
[ERROR]    gmake[3]: *** [all] Error 2
[ERROR]    gmake[2]: *** [all-gold] Error 2
[ERROR]    gmake[1]: *** [all] Error 2

Best regards
Lars


Attachment: .config
Description: Text document

--
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]