> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.6.18 #1-NixOS SMP PREEMPT_DYNAMIC Fri Feb 23 08:25:28 UTC 2024 x86_64 GNU/Linux
 18:29:27  up   2:46,  2 users,  load average: 0.38, 0.32, 0.33
This commit is contained in:
tracer-ysyx 2024-03-03 18:29:27 +08:00 committed by xinyangli
parent 2c5ef67d8e
commit 4317af0dec
8 changed files with 5 additions and 22 deletions

1
.gitignore vendored
View file

@ -10,3 +10,4 @@
!init.sh !init.sh
/fceux-am /fceux-am
/nvboard /nvboard
/am-kernels

View file

@ -66,8 +66,8 @@ LINKAGE = $(OBJS) \
## 3. General Compilation Flags ## 3. General Compilation Flags
### (Cross) compilers, e.g., mips-linux-gnu-g++ ### (Cross) compilers, e.g., mips-linux-gnu-g++
AS = $(CROSS_COMPILE)gcc AS = $(CROSS_COMPILE)cc
CC = $(CROSS_COMPILE)gcc CC = $(CROSS_COMPILE)cc
CXX = $(CROSS_COMPILE)g++ CXX = $(CROSS_COMPILE)g++
LD = $(CROSS_COMPILE)ld LD = $(CROSS_COMPILE)ld
AR = $(CROSS_COMPILE)ar AR = $(CROSS_COMPILE)ar

2
nemu/.gitignore vendored
View file

@ -7,6 +7,8 @@ build/
.config .config
.config.old .config.old
.envrc .envrc
.metals/
.vscode/
compile_commands.json compile_commands.json
### C ### ### C ###

View file

@ -1,3 +0,0 @@
2024.02.03 20:20:12 INFO Started: Metals version 1.2.0+12-644090c2-SNAPSHOT in folders '/home/xin/repo/ysyx-workbench/nemu' for client Visual Studio Code 1.85.2.
2024.02.03 20:20:13 WARN Build server is not auto-connectable.
2024.02.03 20:20:13 WARN no build tool detected in workspace '/home/xin/repo/ysyx-workbench/nemu'. The most common cause for this problem is that the editor was opened in the wrong working directory, for example if you use sbt then the workspace directory should contain build.sbt. 

Binary file not shown.

View file

@ -1,11 +0,0 @@
{
"toolChain": "xilinx",
"prjName": {
"PL": "template"
},
"soc": {
"core": "none"
},
"enableShowLog": false,
"device": "none"
}

View file

@ -1,6 +0,0 @@
{
"digital-ide.welcome.show": false,
"files.watcherExclude": {
"**/target": true
}
}

View file