mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 06:15:06 +00:00
More compat work. Rename libraries from LibFoo.a => libfoo.a
This makes it more straightforward to build a cross-compiler toolchain. Also move math stuff from LibC to LibM.
This commit is contained in:
parent
cccc8d8aeb
commit
3f29a12d90
23 changed files with 140 additions and 79 deletions
23
LibM/math.cpp
Normal file
23
LibM/math.cpp
Normal file
|
@ -0,0 +1,23 @@
|
|||
#include <LibC/assert.h>
|
||||
#include <LibM/math.h>
|
||||
|
||||
extern "C" {
|
||||
|
||||
double cos(double)
|
||||
{
|
||||
assert(false);
|
||||
}
|
||||
|
||||
double sin(double)
|
||||
{
|
||||
assert(false);
|
||||
}
|
||||
|
||||
double pow(double x, double y)
|
||||
{
|
||||
(void)x;
|
||||
(void)y;
|
||||
assert(false);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue