Skip to content
This repository has been archived by the owner on Mar 11, 2019. It is now read-only.

[WIP] creation of an x86_64 build environment #2

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

jopasserat
Copy link
Member

@jopasserat jopasserat commented Nov 17, 2016

This is to simplify static builds for CARE and PRoot.
Should fix #1

The image is based on Debian jessie.
It installs all required dependencies and pre-builds the static libs PRoot depends upon

  • Dockerfile
  • update README with Docker explanations
  • update proot and care source archives in packages folder
  • integrate ad-hoc fixes
  • tests by other users

build.sh Outdated Show resolved Hide resolved
@fsquillace
Copy link

Hi @jopasserat,

Thanks for working this. I did a test and it works fine.
I noticed that the building produces a x86_64 binary.

>> file target/proot
target/proot: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=aef80b001cbbf8d7fca467620dd9bd3c6552717e, not stripped

The previous solution (in master) seems to be able to build arm proot executables from a x86_64 although I could not make it working.
Does your solution accomplish that? Or do you plan to do it?

@jopasserat
Copy link
Member Author

jopasserat commented Dec 9, 2016 via email

@jopasserat
Copy link
Member Author

jopasserat commented Dec 9, 2016 via email

@fsquillace
Copy link

Unfortunately I do not have time to dig to a proper solution for ARM. In any case I guess if you solution does not cover every feature from the master, it is better to keep this as a separate branch and close this pull request.

@jopasserat
Copy link
Member Author

I think the docker build can at least help those who are running on x86_64 (can also help to automate some CI tests),
I've renamed it to make it clear that it only covers one architecture.

@jopasserat jopasserat force-pushed the build_environment branch 2 times, most recently from 6f6ca88 to c2211a2 Compare September 16, 2017 19:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Easy way to build an environment for building static proot
3 participants