diff options
| author | Michal Idziorek <m.i@gmx.at> | 2015-05-13 23:58:39 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2015-05-13 23:58:39 +0200 |
| commit | b74c5c8fb4de3b2847bc942e57dcf8f0dea705be (patch) | |
| tree | fa0a9001cffa64c9193689066bf296dc3df7f844 /README.md | |
| parent | 9a60edf72a3112adae4a914134da1adaf472ad5d (diff) | |
fixed libc and 'userspace'
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 38 |
1 files changed, 32 insertions, 6 deletions
@@ -24,6 +24,35 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +Building +-------- + +Adapt $SYSROOT in userspace/sys/Makefile + +Requirements: + +* OS Specific Toolchain [1] + + binutils-2.25 + gcc-5.1.0 + +* Newlib 2.2.0 [2] + + adapt config.sub + + $ ./configure --target=i686-foolos --prefix=/home/miguel/opt/gcc-5.1.0-foolos/ + $ make + $ make install + + /* + adapt libgloss/libnosys + uncomment environ.c and add stubwarnings for sbrk and exit + */ + +* GRUB2 + + + Usage ----- @@ -34,12 +63,6 @@ following way: $ cat FoolOS.img > /dev/sdX -You will require some dependencies (as newlib) in order to build. - -adapt libgloss/libnosys - -uncomment environ.c and add stubwarnings for sbrk and exit -Build newlib with: --target=i686-elf to use the crosscompiler Supported Platforms @@ -145,6 +168,9 @@ REFERENCES * http://wiki.xomb.org/index.php?title=ACPI_Tables * and many many more... +[1] http://wiki.osdev.org/Hosted_GCC_Cross-Compiler +[2] https://sourceware.org/newlib/ + NOTES ===== in freestanding mode we can just use this c lib headers: |
