summaryrefslogtreecommitdiffhomepage
path: root/dev
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-09-03 08:31:24 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-09-03 08:31:24 +0200
commitdc90419fae8452d4e6943ce2d4b794d36a76a835 (patch)
tree4bd80039726059a89f4d712df35b27549be90a53 /dev
parent0df4a5dd7b0d7e7edaf4df83797849d9e545b659 (diff)
[ IMP ] Add main entrypoint for ZIDL.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev')
-rw-r--r--dev/ndkdll/Sources/Linker.cxx6
-rw-r--r--dev/ndkdll/Sources/ZIDL.cxx11
2 files changed, 14 insertions, 3 deletions
diff --git a/dev/ndkdll/Sources/Linker.cxx b/dev/ndkdll/Sources/Linker.cxx
index 386507e..8356548 100644
--- a/dev/ndkdll/Sources/Linker.cxx
+++ b/dev/ndkdll/Sources/Linker.cxx
@@ -4,9 +4,9 @@
------------------------------------------- */
-/// @file link.cxx
+/// @file Linker.cxx
/// @author Amlal EL Mahrouss (amlel)
-/// @brief ZKA Technologies Linker.
+/// @brief ZKA Linker.
/// Last Rev: Sat Feb 24 CET 2024
@@ -223,7 +223,7 @@ NDK_MODULE(ZKALinkerMain)
}
}
- // PEF expects a valid architecture when outputing a binary.
+ // PEF expects a valid target architecture when outputing a binary.
if (kArch == 0)
{
kStdOut << "link: no target architecture set, can't continue." << std::endl;
diff --git a/dev/ndkdll/Sources/ZIDL.cxx b/dev/ndkdll/Sources/ZIDL.cxx
index e69de29..7763b77 100644
--- a/dev/ndkdll/Sources/ZIDL.cxx
+++ b/dev/ndkdll/Sources/ZIDL.cxx
@@ -0,0 +1,11 @@
+/* -------------------------------------------
+
+ Copyright ZKA Technologies
+
+------------------------------------------- */
+
+int main(int argc, char const *argv[])
+{
+ /* code */
+ return 0;
+}