Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/pkgs/binutils/binutils-build.sh

16 lines
291 B
Bash
Raw Normal View History

* Added binutils. The aterm library now builds in a fully Nixified environment. svn path=/nixpkgs/trunk/; revision=315
2003-08-18 19:41:45 +00:00
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd binutils-* || exit 1
* Patched binutils so that ld no longer searches any of the "default" directories (/lib, ...). So unless a directory is explicitly added using `-L' it won't we searched. This has already revealed that libxml has a hidden dependance on libz. svn path=/nixpkgs/trunk/; revision=357
2003-08-25 19:26:46 +00:00
# Clear the default library search path.
echo 'NATIVE_LIB_DIRS=' >> ld/configure.tgt || exit 1
* Added binutils. The aterm library now builds in a fully Nixified environment. svn path=/nixpkgs/trunk/; revision=315
2003-08-18 19:41:45 +00:00
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
* Patched binutils so that ld no longer searches any of the "default" directories (/lib, ...). So unless a directory is explicitly added using `-L' it won't we searched. This has already revealed that libxml has a hidden dependance on libz. svn path=/nixpkgs/trunk/; revision=357
2003-08-25 19:26:46 +00:00
strip -S $out/lib/*.a || exit 1
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 98ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API