# Format for this file: # Epoch Channel Nickname Action Message # # All separated with a single space, empty values are replaced with a dash '-' # except messages which are kept empty. # Lines starting with '#' are comments; comments are not allowed except as the only content of the line # 1420158878 - y_morin quit Quit: Nighty Night! 1420190276 #crosstool-ng y_morin join 1420191665 #crosstool-ng xxlsm join 1420191772 #crosstool-ng xxlsm say Hello. Is it possible to read out the settings for the target architecture from a build crosstool toolchain ? 1420191838 #crosstool-ng y_morin say xxlsm: What 'settings' are you after? 1420191872 #crosstool-ng xxlsm say Especially the Mips Architecture Level. 1420192014 #crosstool-ng y_morin say xxlsm: Well, you can do different things: 1420192068 #crosstool-ng y_morin say xxlsm: 1) run: .../tuple-gcc -v <- it will return the configure command line with the --with-arch and --with-cpu and what not, so you can inspect that 1420192117 #crosstool-ng y_morin say xxlsm: 2) You can also ask gcc to dump all the preprocesor macro it knows of, and look at the result to see what it define _MIPS_ (or the likes) to. 1420192321 #crosstool-ng y_morin say xxlsm: gcc -x c -E -dM /dev/null will return you all the macros 1420192341 #crosstool-ng xxlsm say Thanks. I will give it a try and report here if I was successful. 1420193099 #crosstool-ng xxlsm say Ok. Option 1 didn´t worked because in the toolchain was no file with the name tuple-gcc but option 2 worked. Now I am try to debug the output after my settings. 1420193163 #crosstool-ng y_morin say xxlsm: Well, you should replace 'tuple' with the actual tuple of the toolchain, something like 'mips-unknown-linux-gnu' 1420193191 #crosstool-ng y_morin say xxlsm: Ditto for the second case, you should use your cross-compiler, not the native one. 1420193848 #crosstool-ng xxlsm say Output 1 : /home/christophe/ngtools/.build/src/gcc-4.8.1/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu --target=mipsel-tuxbox-linux-gnu --prefix=/home/christophe/x-tools/mipsel-tuxbox-linux-gnu --with-sysroot=/home/christophe/x-tools/mipsel-tuxbox-linux-gnu/mipsel-tuxbox-linux-gnu/sysroot --enable-languages=c,c++ --with-arch=mips32 --with-abi=32 --with-float=soft --with-pkgversion='crosstool-NG 1.19.0' 1420193977 #crosstool-ng xxlsm say oh its to short i will upload a text file. 1420194358 #crosstool-ng xxlsm say https://drive.google.com/file/d/0B0M6RkiM4-ILbFhLZmRieGtzVTA/view?pli=1 . It seems like tune for a special cpu is blank and architecture level is "mips32". But I am not sure. Am I right ? 1420195444 #crosstool-ng xxlsm say Is it not possible to debug this "settings" from both outputs and I must compile till I have nearly the same outputs or is there a different solution to debug it ? 1420195844 #crosstool-ng xxlsm say Well I can understand if you want myself to find out. However if anyone wants to tell it anyway I will see it in the logs. 1420195844 #crosstool-ng y_morin say xxlsm: So, you want to reproduce the same toolchain from an existing one? 1420195887 #crosstool-ng y_morin say xxlsm: Please, be patient. People have real lives, and this is a volunteer-driven project. Answers may get some time to get in 1420196412 #crosstool-ng xxlsm say I want to compile a new toolchain but with the same architecture options. I want to find out what options were used for "tune for cpu" and "architecture level". As far as I have seen tune for cpu was leaved blank and architecture level was set to "mips32". But I am not 100% sure. My Question was If someone can validate it with the textfile I uploaded because compiling a toolchain is very cpu sensitve. 1420196508 #crosstool-ng y_morin say xxlsm: OK, so you also have the .config file that was used by ct-ng to build the existing toolchain. Just run: mips-unknown-linux-gnu-ct-ng.config it will spit it out. 1420196843 #crosstool-ng xxlsm say My text editor can´t read some ares of the file but i guess crosstool can ? 1420196906 #crosstool-ng y_morin say xxlsm: What? Just *run* that file, it outputs the config on stdout. 1420196934 #crosstool-ng y_morin say xxlsm: You can then redirect the output to any file you want and load it from 'ct-ng menuconfig' 1420198959 #crosstool-ng xxlsm say Thanks it worked. You helped me a lot. :). Maybe you can add this topic to your site or create a FAQ. Thanks. 1420200478 - xxlsm quit Ping timeout: 246 seconds 1420211615 #crosstool-ng Eisi join 1420211975 #crosstool-ng Eisi say Hi everyone, when i try to build the "arm-cortex_a15-linux-gnueabi" sample, i get an error in the step "Checking that gcc can compile a trivial statically linked program (CT_WANTS_STATIC_LINK)". In the build.log i can see: [DEBUG] /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lc & [ERROR] collect2: error: ld returned 1 exit status. 1420211981 #crosstool-ng Eisi say Someone has an idea? 1420212043 #crosstool-ng y_morin say Eisi: You are missing the 'development' packages on your machine. 1420212056 #crosstool-ng y_morin say Eisi: What distro are you using? 1420212077 #crosstool-ng Eisi say OpenSuse 13.2 1420212088 #crosstool-ng Eisi say wait i have to check those packages 1420212116 #crosstool-ng y_morin say Eisi: They are usually named something like libc-dev or libc-devel or libc-static or whatever. 1420212125 #crosstool-ng y_morin say or glibc-something 1420212169 #crosstool-ng Eisi say glibc-devel is installed 1420212226 #crosstool-ng Eisi say but not glibc-devel-static 1420212253 #crosstool-ng Eisi say that's it :) 1420212257 #crosstool-ng Eisi say Thanks a lot! 1420217036 - feepbot quit Ping timeout: 244 seconds 1420217093 #crosstool-ng feepbot join 1420220853 #crosstool-ng shap-ipad join 1420221560 - shap-ipad quit Quit: Colloquy for iPad - http://colloquy.mobi 1420224095 #crosstool-ng alan_o join 1420225459 - alan_o quit Remote host closed the connection 1420225512 #crosstool-ng alan_o join 1420226126 - alan_o quit Remote host closed the connection 1420226215 #crosstool-ng alan_o join 1420229718 #crosstool-ng shap-ipad join 1420230075 - shap-ipad quit Remote host closed the connection 1420230943 - Eisi quit Quit: Konversation terminated! 1420236845 #crosstool-ng bhundven join