Possible duplicate:Is there a Linux equivalent for Windows resource files?
I am trying to find a way to embed a resource in a static library to link to a C source using the gcc toolchain. Equivalent to the Windows DLL in which resources are embedded. Can this be done using the linux static library?
In short, it will, for example, do this cat someresourcedata.txt > mylib.aand be able to associate it with compiled C code that references mylib.a.
cat someresourcedata.txt > mylib.a
mylib.a
Any ideas or suggestions?
, include. , XPM:
/* XPM */ static char * my_xpm_image[] = { "16 16 15 1", " c None", ". c #000000", "+ c #7FFFFF", "@ c #007F7F", ....
lib ( - , lib, ).
* nix "", Windows; , , .
Source: https://habr.com/ru/post/1729774/More articles:Проблема utf-8 в использовании тегов автозаполнения jquery - jqueryCompilation of the problem. C # - c #Finding fast default aliases in Python - pythonHow to choose a migration path from Delphi 2007 - unicodeSet autoincrement attribute in XML node - pythonИзменение шаблона проекта MVC по умолчанию - asp.net-mvcConvert ASP.NET application to Mono without .csproj and .sln - asp.netHow can I implement extensible hashing in java? - javaCalculate overlap between two rectangles on x / y grid? - mathEasy to use timestamps in Python - pythonAll Articles