# 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 # 1349678992 - sfan5|OFF nick sfan5 1349679178 #crosstool-ng sspiff join 1349679179 - sspiff quit Changing host 1349679179 #crosstool-ng sspiff join 1349679596 - sfan5 nick sfan5|OFF 1349680627 - sfan5|OFF nick sfan5 1349681935 #crosstool-ng smartin join 1349687125 #crosstool-ng knommad join 1349687522 #crosstool-ng sfan5 say can i use crosstool-ng for build != host = target ? 1349690420 #crosstool-ng knommad part 1349690755 #crosstool-ng kos_tom say sfan5: no 1349690764 #crosstool-ng kos_tom say sfan5: at the moment, ct-ng does not support "cross-native" mode 1349690776 #crosstool-ng kos_tom say sfan5: of course, if you're interested, I'm pretty sure Yann will welcome patches to add this 1349691418 #crosstool-ng sfan5 say i'm trying to compile a arm-unknown-linux-gnu toolchain but i get: /tmp/crosstc-build/build/src/gcc-4.3.2/libgcc/../gcc/unwind-dw2.c:1413: internal compiler error: in arm_dbx_register_number, at config/arm/arm.c:18266 1349693293 #crosstool-ng kos_tom say sfan5: http://comments.gmane.org/gmane.comp.gcc.cross-compiling/9970 ? 1349693377 #crosstool-ng sfan5 say so, how do i change the options? 1349694290 - sspiff quit Remote host closed the connection 1349694403 #crosstool-ng sspiff join 1349694404 - sspiff quit Changing host 1349694404 #crosstool-ng sspiff join 1349695099 - sh4rm4 quit Remote host closed the connection 1349699342 #crosstool-ng sh4rm4 join 1349704032 #crosstool-ng alan_o join 1349709328 - sspiff quit Remote host closed the connection 1349712710 #crosstool-ng sfan5 say [ERROR] configure: error: forced unwind support is required || how to fix that? 1349712777 #crosstool-ng sfan5 say nvm 1349713899 - codyps quit Ping timeout: 260 seconds 1349714721 - smartin quit Quit: back later 1349715831 #crosstool-ng codyps join 1349718844 #crosstool-ng smartin join 1349719056 #crosstool-ng y_morin join 1349719303 #crosstool-ng y_morin say sfan5, kos_tom: Indeed cross-native is not supported (by lack of time on my part), so any (sane!) patch will be welcome! :-) 1349719382 #crosstool-ng sfan5 say y_morin: i can't find any working combination of gcc, binutils and glibc for an arm-unknown-linux toolchain 1349719399 #crosstool-ng y_morin say sfan5: arm-unknown-linux-gnu <- uese the old ARM ABI (aka OABI). This is deprecated, and crosstol-NG, although has an option to disable EABI, does not really support OABI. 1349719414 #crosstool-ng y_morin say -> s/uese/uses/ 1349719423 #crosstool-ng sfan5 say so i should enable the new abi? 1349719456 #crosstool-ng y_morin say sfan5: unless you have a *very* good reason to not enable EABI, yes you should. 1349719466 #crosstool-ng y_morin say sfan5: Note that this is the default in crosstool-NG 1349719496 #crosstool-ng sfan5 say i didn't know if the target uses the new abi... 1349719501 #crosstool-ng sfan5 say so i disabled it 1349719552 #crosstool-ng y_morin say sfan5: EABI is purely a software thing. 1349719588 #crosstool-ng y_morin say sfan5: there's no requirement toward the CPU (except maybe it needs a few instructions that are missing in armv4) 1349720118 #crosstool-ng sfan5 say ok 1349720445 #crosstool-ng sfan5 say thanks for your help :) 1349721681 #crosstool-ng sfan5 say how do i add a toolchain to my $PATH 1349721682 #crosstool-ng sfan5 say ? 1349721899 #crosstool-ng sfan5 say or can i copy the content of $HOME/x-tools/arm-unknown-linux-gnueabi into /usr ? 1349722336 #crosstool-ng sfan5 say i'll copy it to /usr 1349724649 - smartin quit Quit: leaving 1349724658 #crosstool-ng y_morin say sfan5: What I usually do, is have /opt writable by my user, and I install all my toolchains in /opt/x-tools/TUPLE. 1349724673 #crosstool-ng sfan5 say ok 1349724707 #crosstool-ng y_morin say sfan5: Then, my login scripts add /opt/x-tools/*/bin to my PATH (eg.: for d in /opt/x-tools/*/bin; do PATH="${PATH}:${d}"; done ) 1349724736 #crosstool-ng y_morin say sfan5: moving to /usr is a bit dangerous. You risk overwriting your system files (eg. libs) 1349724750 #crosstool-ng sfan5 say i did it carefully 1349724766 #crosstool-ng y_morin say sfan5: Also, do not run ct-ng as root, it's dangerous, too (as ct-ng does a 'rm -rf' on the install dir). 1349724786 #crosstool-ng y_morin say sfan5: Sure, it can be doen safely, I was just saying to be careful! ;-) 1349724790 #crosstool-ng sfan5 say :D 1349724810 #crosstool-ng sfan5 say i think i'll use your /opt method next time 1349724849 #crosstool-ng y_morin say sfan5: alternatively, you can have your login script (eg. .profile, or .bashrc) scan ${HOME}/x-tools/*/bin, and add that to $PATH as I do for /opt. 1349724923 #crosstool-ng y_morin say sfan5: it really depends what you want to do with your toolchains: are you the only user? If so, keep in ${HOME}/x-tool, otherwise install them in /opt (or /usr/local/TUPLE or whatever is accessible to all users). 1349724951 #crosstool-ng sfan5 say i'm the only user 1349725047 #crosstool-ng sfan5 say that gives me an idea.... someone could make a public root-/v-server that contains a big collection of toolchains and anyone could compile their programs thee 1349725412 #crosstool-ng y_morin say sfan5: been there, done that. ;-) 1349725455 #crosstool-ng sfan5 say s/thee/There 1349725521 #crosstool-ng y_morin say sfan5: that's the kind of setup we use at work: all toolchains on a (farm of) machine(s), a common build system (home-brewed), and recipes (somewhere between OpenEmbedded and buildroot) 1349725631 #crosstool-ng sfan5 say :D 1349725844 #crosstool-ng sfan5 say crosstool-ng is awesome 1349725987 #crosstool-ng sfan5 say y_morin: do i need to rebuild the toolchain if i want to move anything to /opt/x-tools ? 1349726027 #crosstool-ng y_morin say sfan5: normally, no. The toolchain crosstool-NG builds are relocatable, which means you can move them wherever you want on your machine. 1349726033 #crosstool-ng sfan5 say ok 1349726057 #crosstool-ng y_morin say sfan5: of course, you need to move the complete toolchain (not just the bin directory, or the sysroot, or whateevr). 1349726078 #crosstool-ng sfan5 say yeah, i know 1349726083 #crosstool-ng sfan5 say that makes sense 1349726110 #crosstool-ng y_morin say sfan5: not for everybody (yes, I've had the issue raised once...) 1349726112 #crosstool-ng y_morin say ;-) 1349726121 #crosstool-ng y_morin say or :-/ 1349726135 #crosstool-ng y_morin say or o_O 1349726815 #crosstool-ng sfan5 say it works :) 1349726886 #crosstool-ng y_morin say sfan5: Nice to hear! :-) 1349727001 #crosstool-ng sfan5 say if i ever need to make and use another toolchain i can use /opt/x-tools 1349727222 #crosstool-ng sfan5 say y_morin: why is obj-c marked experimental in the menu? building gcc with obj-c support worked fine 1349727266 #crosstool-ng y_morin say sfan5: I do not do ObjC, so I can tell if it works, hence the EXPERIMENTAL. Nobody before you confirmed it working (or not) so it stayed marked experimental. 1349727279 #crosstool-ng y_morin say I can't tell , of course... 1349727399 #crosstool-ng y_morin say sfan5: it you can confirm it works for you, then send a patch to the mailing list that removes the experimental status. ;-) 1349728087 #crosstool-ng sfan5 say i'l maybe do that 1349728102 #crosstool-ng sfan5 say i'll test hello world and some small programs first 1349728152 - sfan5 nick sfan5|OFF 1349729827 - y_morin quit Quit: Nighty Night! 1349732693 - codyps quit Ping timeout: 255 seconds 1349733439 #crosstool-ng codyps join