Difference between revisions of "Build Inputs"

From bootstrapping
Jump to navigation Jump to search
(Created page with "This page lists the build inputs required for compiling 'binutils'. See Decent principle. == binutils ./configure == <pre> /bin/sh /bin/uname ./configure /usr/bin/as /us...")
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page lists the build inputs required for compiling 'binutils'. See [[Decent principle]].
+
This page lists the build inputs required for compiling some packages.
  
== binutils ./configure ==
+
Here is a helpful command to list all the binaries invoked during the build process of compiling a package:
 +
 
 +
<pre>
 +
TMP=`mktemp` ; strace -o "$TMP" -f -e trace=execve -e 'signal=!all' make ; sed -ne 's/.*execve("\([^"]*\)",.*/\1/p' "$TMP" | xargs ls -d 2>/dev/null | sort | uniq
 +
</pre>
 +
 
 +
== stage0 ==
 +
<pre>
 +
stage0-vm (implementation specific)
 +
hex-monitor (280bytes)
 +
</pre>
 +
 
 +
== amber ==
 +
 
 +
<pre>
 +
/bin/sh
 +
/usr/bin/as
 +
/usr/bin/ld
 +
/usr/bin/make
 +
</pre>
 +
 
 +
== tcc ==
 +
 
 +
=== tcc ./configure ===
 +
<pre>
 +
/usr/bin/as
 +
/usr/bin/cat
 +
/usr/bin/diff
 +
/usr/bin/gcc
 +
/usr/bin/grep
 +
/usr/bin/head
 +
/usr/bin/ld
 +
/usr/bin/mv
 +
/usr/bin/rm
 +
/usr/bin/uname
 +
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/cc1
 +
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/collect2
 +
</pre>
 +
 
 +
=== tcc make ===
 +
<pre>
 +
/bin/sh
 +
./texi2pod.pl
 +
/usr/bin/ar
 +
/usr/bin/as
 +
/usr/bin/core_perl/pod2man
 +
/usr/bin/gcc
 +
/usr/bin/ld
 +
/usr/bin/locale
 +
/usr/bin/make
 +
/usr/bin/makeinfo
 +
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/cc1
 +
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/collect2
 +
</pre>
 +
 
 +
== guile ==
 +
 
 +
<pre>
 +
/usr/bin/ar
 +
/usr/bin/as
 +
/usr/bin/cat
 +
/usr/bin/chmod
 +
/usr/bin/date
 +
/usr/bin/env
 +
/usr/bin/find
 +
/usr/bin/gawk
 +
/usr/bin/gcc
 +
/usr/bin/grep
 +
/usr/bin/gzip
 +
/usr/bin/ld
 +
/usr/bin/ln
 +
/usr/bin/ls
 +
/usr/bin/make
 +
/usr/bin/mkdir
 +
/usr/bin/mv
 +
/usr/bin/ranlib
 +
/usr/bin/rm
 +
/usr/bin/sed
 +
/usr/bin/sort
 +
/usr/bin/tr
 +
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/cc1
 +
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/collect2
 +
</pre>
 +
 
 +
== binutils ==
 +
 
 +
=== binutils ./configure ===
  
 
<pre>
 
<pre>
Line 41: Line 127:
 
</pre>
 
</pre>
  
== binutils make ==
+
=== binutils make ===
 
<pre>
 
<pre>
 
/bin/sh
 
/bin/sh

Latest revision as of 12:25, 2 December 2017

This page lists the build inputs required for compiling some packages.

Here is a helpful command to list all the binaries invoked during the build process of compiling a package:

TMP=`mktemp` ; strace -o "$TMP" -f -e trace=execve -e 'signal=!all' make ; sed -ne 's/.*execve("\([^"]*\)",.*/\1/p' "$TMP" | xargs ls -d 2>/dev/null | sort | uniq

stage0[edit]

stage0-vm (implementation specific)
hex-monitor (280bytes)

amber[edit]

/bin/sh
/usr/bin/as
/usr/bin/ld
/usr/bin/make

tcc[edit]

tcc ./configure[edit]

/usr/bin/as
/usr/bin/cat
/usr/bin/diff
/usr/bin/gcc
/usr/bin/grep
/usr/bin/head
/usr/bin/ld
/usr/bin/mv
/usr/bin/rm
/usr/bin/uname
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/cc1
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/collect2

tcc make[edit]

/bin/sh
./texi2pod.pl
/usr/bin/ar
/usr/bin/as
/usr/bin/core_perl/pod2man
/usr/bin/gcc
/usr/bin/ld
/usr/bin/locale
/usr/bin/make
/usr/bin/makeinfo
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/cc1
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/collect2

guile[edit]

/usr/bin/ar
/usr/bin/as
/usr/bin/cat
/usr/bin/chmod
/usr/bin/date
/usr/bin/env
/usr/bin/find
/usr/bin/gawk
/usr/bin/gcc
/usr/bin/grep
/usr/bin/gzip
/usr/bin/ld
/usr/bin/ln
/usr/bin/ls
/usr/bin/make
/usr/bin/mkdir
/usr/bin/mv
/usr/bin/ranlib
/usr/bin/rm
/usr/bin/sed
/usr/bin/sort
/usr/bin/tr
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/cc1
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/collect2

binutils[edit]

binutils ./configure[edit]

/bin/sh
/bin/uname
./configure
/usr/bin/as
/usr/bin/basename
/usr/bin/cat
/usr/bin/cc
/usr/bin/chmod
/usr/bin/cmp
/usr/bin/diff
/usr/bin/dirname
/usr/bin/egrep
/usr/bin/expr
/usr/bin/g++
/usr/bin/gawk
/usr/bin/gcc
/usr/bin/grep
/usr/bin/hostname
/usr/bin/install
/usr/bin/ld
/usr/bin/ln
/usr/bin/ls
/usr/bin/makeinfo
/usr/bin/mkdir
/usr/bin/mktemp
/usr/bin/mv
/usr/bin/rm
/usr/bin/rmdir
/usr/bin/sed
/usr/bin/sort
/usr/bin/tr
/usr/bin/uname
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/cc1
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/cc1plus
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/collect2

binutils make[edit]

/bin/sh
/bin/uname
/usr/bin/ar
/usr/bin/as
/usr/bin/awk
/usr/bin/basename
/usr/bin/bison
/usr/bin/cat
/usr/bin/cc
/usr/bin/chmod
/usr/bin/cmp
/usr/bin/core_perl/pod2man
/usr/bin/cp
/usr/bin/date
/usr/bin/diff
/usr/bin/dirname
/usr/bin/echo
/usr/bin/egrep
/usr/bin/env
/usr/bin/expr
/usr/bin/file
/usr/bin/flex
/usr/bin/g++
/usr/bin/gawk
/usr/bin/gcc
/usr/bin/getconf
/usr/bin/grep
/usr/bin/guild
/usr/bin/guile
/usr/bin/hostname
/usr/bin/ld
/usr/bin/ln
/usr/bin/locale
/usr/bin/ls
/usr/bin/m4
/usr/bin/make
/usr/bin/makeinfo
/usr/bin/mkdir
/usr/bin/mktemp
/usr/bin/msgfmt
/usr/bin/msgmerge
/usr/bin/mv
/usr/bin/nm
/usr/bin/objdump
/usr/bin/perl
/usr/bin/pkg-config
/usr/bin/python
/usr/bin/ranlib
/usr/bin/rm
/usr/bin/rmdir
/usr/bin/sed
/usr/bin/sleep
/usr/bin/sort
/usr/bin/strip
/usr/bin/touch
/usr/bin/tr
/usr/bin/true
/usr/bin/uname
/usr/bin/uniq
/usr/bin/wc
/usr/bin/xgettext
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/cc1
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/cc1plus
/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/collect2