From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13671 invoked by alias); 23 Jan 2012 17:39:40 -0000 Received: (qmail 13663 invoked by uid 22791); 23 Jan 2012 17:39:39 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from smtp08.smtpout.orange.fr (HELO smtp.smtpout.orange.fr) (80.12.242.130) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Jan 2012 17:39:23 +0000 Received: from treguer.localnet ([90.32.112.232]) by mwinf5d15 with ME id R5fK1i00u50tzZm035fK6f; Mon, 23 Jan 2012 18:39:21 +0100 From: "Yann E. MORIN" To: crossgcc@sourceware.org Subject: Re: Using crosstool-ng on OpenBSD Date: Mon, 23 Jan 2012 17:39:00 -0000 User-Agent: KMail/1.13.5 (Linux/3.2.1-treguer; KDE/4.4.5; x86_64; ; ) Cc: Renaud Allard References: <4F1D11AA.6010602@allard.it> In-Reply-To: <4F1D11AA.6010602@allard.it> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201201231839.19008.yann.morin.1998@free.fr> Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00046.txt.bz2 Renaud, All, On Monday 23 January 2012 08:52:10 Renaud Allard wrote: > 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 -- - That's been fixed upstream by this changeset: http://crosstool-ng.org/hg/crosstool-ng/file/188d58cfe7cf/scripts/functions#l767 I am just back-porting some fixes to the 1.13 branch, and they should be available shortly ( in fact, I did that a few days ago, but I forgot to tag and push the branch... :-( ). > 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. This should not be needed now, as the extraction now uses BSD-compliant constructs. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq