Jeremy Soller
0c5abf0361
Combine all libraries into libc.a, call pthread_init and pthread_terminate in libc
2019-01-07 19:11:30 -07:00
Jeremy Soller
be035f8862
Copy pthreads-emb files on install
2018-12-09 11:29:51 -07:00
Jeremy Soller
8aae8e1564
Add PTE
...
Add sys_timeb header
2018-12-09 11:27:44 -07:00
Jeremy Soller
62b0b0d508
Add rustcflags to makefile
2018-12-02 10:24:16 -07:00
Jeremy Soller
35bcf93160
Merge branch 'master' of https://gitlab.redox-os.org/redox-os/relibc
2018-11-27 10:07:47 -07:00
Jeremy Soller
0a44d4543f
Override CC for aarch64 redox
2018-11-27 10:07:44 -07:00
Jeremy Soller
950b4526c7
- Disable output of empty header files
...
- Remove incorrect header styles
- Use export.replace where header style was previously needed
- Check compilation of tests using system gcc
2018-11-26 21:35:02 -07:00
Alexander Theißen
e102c234c1
Properly export CC variable in Makefile
...
We cannot use ?= because CC is set by default to "cc". Therefore
CC was never set. In addition we need to export the variable
in order to have the rust cc crate pick it up. Otherwise it is
only used by openlibm where it is explicitly passed.
2018-11-17 20:17:35 +01:00
Jeremy Soller
81dc144241
Abandon overriding cargo flags, for now
2018-11-13 21:03:14 -07:00
Jeremy Soller
f1c970beef
Fix override of CARGOFLAGS when using target
2018-11-13 21:00:05 -07:00
Jeremy Soller
8a972542be
Allow override of cargoflags
2018-11-13 20:56:59 -07:00
Jeremy Soller
c36ee7237b
Allow override of cargo
2018-11-11 08:03:04 -07:00
jD91mZM2
1acc2a1a32
Initial regex.h implementation
2018-10-05 18:07:43 +02:00
Jeremy Soller
9eef8d7e2d
Add core_io
2018-09-24 20:19:37 -06:00
jD91mZM2
d659377b24
VERY basic crti/crtn
2018-09-23 21:30:13 +02:00
Jeremy Soller
28f4da526d
Require all target when building sysroot
2018-09-17 20:28:17 -06:00
Jeremy Soller
82b9715f41
Fix makefile for tests, add sysroot target
2018-08-27 13:02:13 -06:00
Jeremy Soller
0258fb3f5e
Fix header path
2018-08-27 08:47:16 -06:00
Jeremy Soller
7ab700315d
Fix warnings and add c_str
2018-08-26 15:15:29 -06:00
Jeremy Soller
124e118f9f
Fix makefile
2018-08-26 12:35:41 -06:00
Jeremy Soller
c20ce5ffed
Large reorganization of headers (WIP)
2018-08-26 08:11:35 -06:00
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