This shows you the differences between two versions of the page.

Link to this comparison view

wiki:embedding_resources_in_executables [10.01.2018 14:53]
wiki:embedding_resources_in_executables [10.01.2018 14:57] (current)
rgareus [Alternative option using asm]
Line 172: Line 172:
   _my_data_size:    dd $-_my_data   _my_data_size:    dd $-_my_data
-and compile it with ''nasm -felf64 resource.s -o resource.o''. The data can then be referenced using+and compile it with `''nasm -felf64 resource.s -o resource.o''` (Note that ''-felf64'' here is Linux 64bit. The options needs to be replaced with the corresponding target architecture and OS). 
 +The data can then be referenced using
   extern const unsigned char _my_data[];   extern const unsigned char _my_data[];
wiki/embedding_resources_in_executables.txt · Last modified: 10.01.2018 14:57 by rgareus