Patch porting gcc v2 (#124)

* 更改编译器的Include路径,使得include时不需要加`<libc/src/include/>`前缀

* 修改include路径

Co-authored-by: longjin <longjin@RinGoTek.cn>
This commit is contained in:
guanjinquan
2022-12-31 17:35:39 +08:00
committed by GitHub
parent d4f3de93a2
commit 74bde36e01
49 changed files with 117 additions and 112 deletions

View File

@ -1,9 +1,9 @@
#include "sys_version.h" // 这是系统的版本头文件,在编译过程中自动生成
#include <libc/src/math.h>
#include <libc/src/stdio.h>
#include <libc/src/stdlib.h>
#include <libc/src/time.h>
#include <libc/src/unistd.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
void print_ascii_logo()
{