From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 16 Feb 2016 16:27:42 +0300 (MSK) From: Ivan Zakharyaschev To: ALT Linux Team development discussions Message-ID: User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="1807885841-1313302158-1455629262=:21858" Subject: Re: [devel] re-writing GNU C; part1.4.1: .rpm produced X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 13:27:43 -0000 Archived-At: List-Archive: List-Post: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1807885841-1313302158-1455629262=:21858 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT Чтобы поскорее иметь возможность подсовывать cuglify/Process в hasher, стал делать .rpm (дурацким временным способом). (Его можно взять в vb2:/home/imz/public/cuglify-WIP/language-c-uglify-1.4.1-1.x86_64.rpm или сделать командой make, приведённой ниже) On Tue, 9 Feb 2016, Ivan Zakharyaschev wrote: > Скачиваем код с хаками > ---------------------- > > $ mkdir cuglify-WIP > $ cd cuglify-WIP $ darcs clone http://hub.darcs.net/imz/cuglify --set-scripts-executable (или, конечно, если он уже склонирован, `darcs pull` внутри -- там новый контекст-файл), а потом: $ darcs clone --context=cuglify/ann1.4.1-language-c.context http://hub.darcs.net/imz/language-c_WIP $ git clone --branch=cuglify/ann1_4 https://github.com/imz/directory > Собираем библиотеку > ------------------- > Наконец, наша библиотека: > > $ pushd language-c_WIP/ > $ cabal sandbox --sandbox=/storage/imz/CABAL-SANDBOX-cuglify init > $ cabal install > $ popd > > Компилируем examples/Process > ---------------------------- > > $ pushd language-c_WIP/ > $ cabal exec -- make -C examples Process $ cabal exec -- make -C examples rpm > $ popd -- Best regards, Ivan --1807885841-1313302158-1455629262=:21858--