> Peter Buelow schreef: >> I'd like to bulid the cross compiler in a more standard directory, and >> then use a program-prefix for gcc and binutils. Then I can name my x86 >> build something a little shorter, like x86-uclibc-command instead of the >> i686-pc-linux-gnu-command that is spit out now. The alt dir is easy >> enough, but the name is killing me. I know about --program-prefix, but >> gcc >> spits on this nearing the end saying it can't find >> i686-pc-linux-uclibc-ar, which I would expect. Not sure how I fix this. >> Any thoughts? For now, I live with the longer names. >> >> -Pete > You can't just change names just because you want to, the target triplet > actually has meaning: what architecture you're using, what it's built > for, etc, i686-unknown- will produce binaries different from > i686-pc-linux-uclibc. > > If you want to save yourself some typework, add something to > $HOME/.bash_profile like this (assuming CLFS_TARGET is set): > export ccp="${CLFS_TARGET}" > > then use ${ccp}-gcc, ${ccp}-ld etc etc > _______________________________________________ > Clfs-support mailing list > Clfs-support@lists.cross-lfs.org > http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support > Yeah, but I also know you can, because MontaVista does this for their platforms. I figured it wasn't easy though. Anyway, like I said, it works as is, but I liked being able to name these such that it saved some tedious typing.
_______________________________________________ Clfs-support mailing list Clfs-support@lists.cross-lfs.org http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support