Using crosstool-ng on OpenBSD

Renaud Allard renaud@allard.it
Mon Jan 23 07:52:00 GMT 2012


Hello,

While it may seem strange to some, I am trying to compile a toolchain on 
an OpenBSD (5.0 amd64) machine.

I have installed all GNU alternatives to common programs:
cat /usr/local/lib/ct-ng-1.13.2/paths.mk 

export install=/usr/bin/install
export bash=/usr/local/bin/bash
export grep=/usr/local/bin/ggrep
export make=/usr/local/bin/gmake
export sed=/usr/local/bin/gsed
export libtool=/usr/local/bin/libtool
export libtoolize=/usr/local/bin/libtoolize
export objcopy=/usr/bin/objcopy
export objdump=/usr/bin/objdump
export readelf=/usr/bin/readelf
export patch=/usr/bin/patch

However ct-ng build fails on me because it is not able to uncompress the 
archives.
[DEBUG]    ==> Executing: 'mkdir' '-p' 'linux-3.0.4'
[DEBUG]    ==> Executing: 'tar' '--strip-components=1' '-C' 
'linux-3.0.4' '-xv' '-f' '-'
[FILE ]    tar: unknown option -- -

But the is no way (except linking tar to gtar in the system, which is 
probably not a good idea) to use gtar instead of tar.
It would probably be interesting to add the option to use gtar in the 
configure process.

Best Regards

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4510 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20120123/be07f608/attachment.p7s>


More information about the crossgcc mailing list