Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170217115321.GH12395@port70.net>
Date: Fri, 17 Feb 2017 12:53:22 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: Rob Landley <rlandley@...instruments.com>
Cc: musl <musl@...ts.openwall.com>
Subject: Re: musl-cross-make build script.

* Rob Landley <rlandley@...instruments.com> [2017-02-16 16:57:54 -0600]:
> 
>   git clone https://github.com/richfelker/musl-cross-make
>   cd musl-cross-make
>   ~/mcm-buildall.sh
> 
> And then wait a long time and the result should wind up in "output".

nice

> #!/bin/bash

isn't it posix sh compatible?

>   PATH="$LP" make OUTPUT="$OUTPUT" TARGET="$TARGET" \
>     GCC_CONFIG="--disable-nls --disable-libquadmath --disable-decimal-float $GCC_CONFIG" COMMON_CONFIG="$COMMON_CONFIG" \
>     install -j$(nproc)

i didnt know about -j$(nproc), what does it do?

> for i in i686:: \
>          armv5l:eabihf:--with-arch=armv5t armv7l:eabihf:--with-arch=armv7-a \
>          "armv7m:eabi:--with-arch=armv7-m --with-mode=thumb --disable-libatomic --enable-default-pie" \
>          armv7r:eabihf:--with-arch=armv7-r \
>          armv8l:eabihf:--with-arch=armv8-a i486:: sh2eb:fdpic:--with-cpu=mj2 \
>          mipsel:: mips:: powerpc:: sh4:: microblaze:: mips64:: powerpc64:: \
>          s390x:: x86_64::

aarch64 is missing (and i don't think it's useful to
build both armv7l and armv8l toolchains: the former
can produce binaries for armv8-a targets just fine and
i don't know about any code in the toolchain target
libs that would be different on armv8-a, well may be
the new float to int rounding and acquire/release
atomics insns could be used but that's about it)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.