Commit Graph

21 Commits

Author SHA1 Message Date
Jeremy Soller 729709a8e6 Update all modules to new Pal mechanism 2018-08-25 08:42:57 -06:00
Jeremy Soller 4e3b6732d5 Default to release for make 2018-08-17 18:41:16 -06:00
Robin Randhawa cb046c78e4 Turn the libc and libm rules into 'order-only' prequisites
These prerequisites are GNU Make terminology.

This change forces the libc rule to be executed first so that the headers that
the libm rule needs are available. The original setup was using 'normal'
prerequisites which occasionally resulted in bizarre build breakage,
especially on multi-core build hosts. Seen often on my 8-way SMP build
host.

Note that this doesn't impede parallelisation of each rule indepent of
the other. It just serializes the rules themselves.

This fixes: https://gitlab.redox-os.org/redox-os/relibc/issues/127
2018-07-27 16:51:15 +01:00
Jeremy Soller 7e6e1b164c Align stack on x86_64 2018-07-03 11:31:05 -06:00
jD91mZM2 6a0928edfd Use relibc to build openlibm 2018-07-03 19:01:24 +02:00
jD91mZM2 fb09b03acf Fix compilation on redox 2018-07-01 17:55:24 +02:00
jD91mZM2 5537817594 Export libm as well 2018-06-26 08:35:27 +02:00
jD91mZM2 320eb0ecd0 Revert openlibm install script
Turns out that this only worked because I didn't clean before rebuilding, so it still had access to the old files. Sorry.
2018-06-24 20:19:06 +02:00
Jeremy Soller 878f466b67 Update to new ralloc, new panic implementation, new compiler-builtins 2018-06-24 09:50:15 -06:00
jD91mZM2 3e67314b97 Fix openlibm & fenv and add more integer types 2018-06-24 14:12:24 +02:00
jD91mZM2 5945de62cb Install openlibm from Makefile 2018-06-23 06:54:23 +02:00
Jeremy Soller afdc80629f Fix Makefile spurious rebuilds
Add mem* functions to stdio
Add constant int functions
2018-03-27 20:14:22 -06:00
Jeremy Soller 6999363916 Create build directory if necessary in openlibm target 2018-03-26 20:41:02 -06:00
Jeremy Soller 78c8c2171b Add install target 2018-03-26 20:13:45 -06:00
Jeremy Soller 8c218b1608 Build crt0 as object file 2018-03-26 20:06:46 -06:00
Jeremy Soller d071522bc5 Add libm to phony 2018-03-26 19:59:42 -06:00
Jeremy Soller adcd0c9900 Only update libcrt0.a if there is a source change 2018-03-26 19:49:21 -06:00
Jeremy Soller e1abe80992 Fix CI 2018-03-26 19:34:45 -06:00
Jeremy Soller 47ee733afa Complete Makefile 2018-03-26 19:12:20 -06:00
Jeremy Soller ae137dbc03 Prepare for cross compiled openlibm 2018-03-26 18:50:51 -06:00
Jeremy Soller d9e4622f83 Add Makefile (WIP) 2018-03-26 18:38:29 -06:00