Hi Ben,

Instead of using 'trivial-build-system' for this, it would be better to
use 'gnu-build-system' and remove/replace the phases that aren't
appropriate.  So, you'll probably want to remove the 'configure' phase
and replace the 'build' and 'install' phases.

Even so, there are many important phases and implicit inputs in
'gnu-build-system', notably setting the environment variables before the
build, and checking for missing rpaths in the installed binaries.

As you have it now, since you used bare 'binutils' and not our
'ld-wrapper' package, and you didn't add explicit rpaths options to the
linker, I guess that the produced executable won't be able to find the
specific shared libraries it was linked against without more help.

      Mark

Reply via email to