This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
SYMBOL TABLE: [ 0](sec 1)(fl 0x00)(ty 0)(scl 3) (nx 0) 0x00000000 .rsrc
Apparently (I may be wrong, please feel free to correct me) the object file contains one symbol called .rsrc that the Windows API functions must somehow locate and use to find the resources.
What I would like to do is access the .rsrc symbol directly, in plain c code.
How can I obtain a pointer to the symbol? The compiler doesn't seem to be able to find the symbol if I declare an extern char called rsrc.
For example, I tried the following command:
windres --target=elf64-ia64-little -i resource.rc -o resource.o
But windres complains about not being able to detect the architecture. How do I tell it the architecture type?
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |