From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6205 Path: news.gmane.org!not-for-mail From: Richard Pennington Newsgroups: gmane.linux.lib.musl.general Subject: A new ELLCC binary snapshot is available Date: Fri, 26 Sep 2014 05:39:54 -0500 Message-ID: <5425427A.2090506@pennware.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1411728185 16501 80.91.229.3 (26 Sep 2014 10:43:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Sep 2014 10:43:05 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6218-gllmg-musl=m.gmane.org@lists.openwall.com Fri Sep 26 12:43:00 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1XXSzK-00031S-Qc for gllmg-musl@plane.gmane.org; Fri, 26 Sep 2014 12:42:58 +0200 Original-Received: (qmail 16330 invoked by uid 550); 26 Sep 2014 10:42:26 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 16291 invoked from network); 26 Sep 2014 10:42:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1411728133; bh=TMqK4TQqWOenBuXcvUJ3jahgXfKHQ7HpPVtagcrwaoI=; h=Received:Received:Received:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding:From:Subject; b=kYMfvqenR+mCQAwwx2L65O93p4U0xGY6IWP9hVQu5u/HWRWi6CPhH1gu4f7ljxZ5eWGy5z2QyjWjOZqRTCbGYkY7dVK75Kw/d+FFuNbAhFxkXeSqExE9GoFhwaY5KeV6m+xUmxMaSA5Hj1/aTMUd+L2YLk4JU03tTJVNVCH0/4hqm19n/gKV9T+pYwEQkaYWTCMyUa5jeQO1FHQT1wIcg+LzTTJkrP/8xtK8K7Q4xFCg2Iee3jzQmcGaHvd6aVquTfvVJkM7lt3pak5CidjP9xRyANSYk8nFvHGsm/A1rd9sSN1fScFzid+swvU0J2sfj13Wm2rSQQ/gT291aSyD0A== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=QO9eEh9bXyZdyNy04uEp/660BWKiRWEAkzAUw7qi5uJ61e/8FDDg6f92uRkdw49SHnhjUecRrowCGWtMpJeqGNAPWB9MSBfvHC2QUkeXMPMMkG6HxC+v1bMZvoCn0HoSo/U+waVajkzuGd8gVyYnXacWl0ZY97hm/3XGsR8XxhxNMKIzY6KKwMcNauHKcEsb47E4FXJOY05Lu6rLBmvJUilHwMKgoo88KRdG8vb87ZAPpsLovv3KQN3cVp3dwQVN84D9tgcS+WbXCh8ZhBIxS4r0B0pCmaWglaQeQhBoV9k71/LyFC3CEJ1JnIjK4XOkB7weIvBi/8YhPMo+4R3J/g==; X-Yahoo-Newman-Id: 429928.86677.bm@smtp109.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: D.KQlL8VM1ncb22kqRpamm0KR9HyA74iPOAn9zMu_0J5dRq wT9uxm.RCRyQ6n_ygvSsyURaYwKOVgYTBrCPaKSt5ezZRKOL8ZyS0xQkbXyT RvVFSDIDFfI4P5UtJuqXk1FYPAeA.71ZKZbslMg7NjfS.wQsAl6eUMfbVg1a 5exEtj3r15uWeTvpSe9AgTftmWn69UOpZZ5r9XmtwjwSS0bKP2s4i9rmsD0v WnPf8M6ZMv5p65uytMHAg26JxZqRKHV.noLafuh4JvUcA7BcnAC4Ss7dUfWb 5vhHruVhfP_PfL641UPwGTo2vwSNeIO8AL9RoXwCNT5nilIlV.g6LiIXJbTk sAZlEpYvkpeFzZSSo1CuwoWLKdC_Ophqe9diTWq.wADFZ2lNvS87cNln19LJ yUGwIJf_7Nmac_yUamZWjX6vzHzjcCdOork2IiJzUX_pOqTzSgLOIPUB1XfO O5bNDe1OYSiY_6iCoI8Zp2fpTeFXATnuFsgf_tSjGyeyCLo4MxmfLGnIioOE 0y91KT3igSA4mgyG3vCINk9.Wz3ZPG48JIbQKlxFLSeS3t9RmKTI- X-Yahoo-SMTP: .k_41oOswBAoazK2DOEGsJYq.8Iq6QQePV1SmSiew0D1 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 Xref: news.gmane.org gmane.linux.lib.musl.general:6205 Archived-At: A new binary snapshot of the ELLCC cross compilation tool chain (http://ellcc.org) is available from ftp://ellcc.org/pub. The tool chain is built around clang/LLVM, libc++ and libc++abi, the musl standard C library, compiler-rt, and GNU binutils and gdb. This version uses configuration scripts to tell the compiler how to compile and link programs. An example from ~/ellcc/libecc/config: cat ~/ellcc/libecc/config/arm-linux-engeabi: based_on: arm-ellcc-linux compiler: options: - -target arm-ellcc-linux - -march=armv7a - -mfpu=none - -mfloat-abi=softfp linker: static_crt1: $R/lib/arm-linux-engeabi/crt1.o dynamic_crt1: $R/lib/arm-linux-engeabi/Scrt1.o crtbegin: $R/lib/arm-linux-engeabi/crtbegin.o crtend: $R/lib/arm-linux-engeabi/crtend.o library_paths: - -L $R/lib/arm-linux-engeabi: An example command line to compile for a specific target: ~/ellcc/bin/ecc -target arm-linux-engeabi -o hello hello.c From the README.txt file: The files in this directory contain pre-compiled versions of the ELLCC cross compiler tool chain. Each tarball is meant to run on a specific target Linux system as indicated by the name, e.g. ellcc-arm-... are executables that are supposed to run on an little endian ARM Linux box. -target Endian Float armeb-linux-engeabi Big Soft armeb-linux-engeabihf Big Hard arm-linux-engeabi Little Soft arm-linux-engeabihf Little Hard i386-linux-eng Little Hard mipsel-linux-eng Little Hard mipsel-linux-engsf Little Soft mips-linux-eng Big Hard mips-linux-engsf Big Soft ppc-linux-eng Big Hard x86_64-linux-eng Little Hard All of the executables in these tarballs are statically linked, so they should run on any reasonably recent Linux box. Tarball contents: C/C++ compiler (ecc, ecc++) Assemblers for all targets GNU binutils compiled to support all targets. GDB compiled to support all the targets. All of the tarballs contain header files and runtime libraries for all the targets so you should be able to build for any one of the targets [1]. These tarballs have not been tested, except for the arm, i386 and x86_64 versions, because I don't have access to Linux boxes running on the other targets yet. I would welcome feedback on how they work for you. To use the tarball: tar xvfpz This will create a directory called "ellcc" that will have all the files you need to use ELLCC on the target system. If you have any problems, please post on the ELLCC forum: http://ellcc.org/blog/?forum=forum Please visit http://ellcc.org for more information. Have fun! -Rich [1]: The ARM versions of the executables currently can only target ARM processors because the ecc compiler became too large to be statically linked when all processors were supported.