summaryrefslogtreecommitdiffhomepage
path: root/man
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-04-19 17:33:26 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-04-19 17:33:26 +0200
commitbefde76cfa46c766e81f74eb5ac65d3dae2dde87 (patch)
tree45b2f9fd6b3f9605c2747485bd24483192f99e73 /man
parent3afc481dc64a07fe7fcaff9ce7a12a492c3ec8e7 (diff)
dev, LibCompiler, tooling: refactor and separate components into modules
(cppdrv, cxxdrv) Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'man')
-rw-r--r--man/dbg.767
-rw-r--r--man/ld64.735
2 files changed, 3 insertions, 99 deletions
diff --git a/man/dbg.7 b/man/dbg.7
deleted file mode 100644
index a32c029..0000000
--- a/man/dbg.7
+++ /dev/null
@@ -1,67 +0,0 @@
-.TH DBG 1 "LibCompiler" "January 2025" "NeKernel Manual"
-.SH NAME
-.B dbg
-\- NeKernel internal debugger
-
-.SH SYNOPSIS
-.B dbg
-[␌IOPTIONS␌R] [␌ICOMMAND␌R]
-
-.SH DESCRIPTION
-.B dbg
-is the internal debugging tool for NeKernel. It provides a low-level
-interface for inspecting and manipulating running processes,
-memory, and kernel state.
-
-.SH OPTIONS
-.TP
-.B -p
-Attach to a process by its PID.
-.TP
-.B -s
-Start a new debugging session.
-.TP
-.B -m
-Enable memory inspection mode.
-.TP
-.B -r
-Display register values.
-.TP
-.B -b
-Set a breakpoint at a function or address.
-.TP
-.B -c
-Continue execution after a breakpoint.
-.TP
-.B -h
-Display help information.
-
-.SH USAGE EXAMPLES
-.TP
-.B Start a new debugging session:
-.B dbg -s
-.TP
-.B Attach to a running process (PID 1234):
-.B dbg -p 1234
-.TP
-.B Inspect memory at address 0x1000:
-.B dbg -m 0x1000
-.TP
-.B Set a breakpoint at function "main":
-.B dbg -b main
-.TP
-.B Display register values:
-.B dbg -r
-
-.SH EXIT STATUS
-.TP
-0 Successful execution.
-.TP
-1 Error occurred during debugging.
-
-.SH SEE ALSO
-.BR nekernel (7), gdb (1)
-
-.SH AUTHOR
-Amlal El Mahrouss
-
diff --git a/man/ld64.7 b/man/ld64.7
index 0497ca9..56e192f 100644
--- a/man/ld64.7
+++ b/man/ld64.7
@@ -4,50 +4,21 @@
\- PEF binary format linker for NeKernel
.SH SYNOPSIS
-.B ld64
-[␌IOPTIONS␌R] [␌IINPUT_FILES␌R] -o ␌IOUTPUT_FILE␌R
+.B ld64 %OPTIONS% %INPUT_FILES% -output %OUTPUT_FILE%
.SH DESCRIPTION
.B ld64
is the dedicated linker for the Preferred Executable Format (PEF) used by NeKernel.
-It links object files into a PEF executable suitable for execution within the NeKernel environment.
.SH OPTIONS
.TP
-.B -o <file>
+.B -output <file>
Specify the output file.
-.TP
-.B -L <path>
-Add a library search path.
-.TP
-.B -l <lib>
-Link against the specified library.
-.TP
-.B -T <script>
-Specify a linker script.
-.TP
-.B -e <symbol>
-Set the entry point symbol.
-.TP
-.B -M
-Display the memory layout of the linked binary.
-.TP
-.B -v
-Enable verbose output.
-.TP
-.B -h
-Show help information.
.SH USAGE EXAMPLES
.TP
-.B Link object files into a PEF binary:
-.B ld64 main.o utils.o -o app.exe
-.TP
-.B Link with a custom entry point:
-.B ld64 -e _start main.o -o app.exe
-.TP
.B Generate a memory layout report:
-.B ld64 -M main.o -o app.exe
+.B ld64 main.o -output app.exec
.SH EXIT STATUS
.TP