This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using crosstool-ng on OpenBSD


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]