Sujet : Re: C23 thoughts and opinions
De : bc (at) *nospam* freeuk.com (bart)
Groupes : comp.lang.cDate : 31. May 2024, 22:17:54
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v3deq1$2d2v4$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
User-Agent : Mozilla Thunderbird
On 31/05/2024 20:42, jak wrote:
bart ha scritto:
C:\c>objcopy -I binary -O elf64-x86-64 hello.c hello.obj
You could use the pe-x86-64 format instead of the elf64-x86-64 to reduce
the size of the object.
The PE format doesn't work; gcc's ld linker has a problem with it, when it is generated by 'objcopy'.
Actually there is a LOT wrong with this whole approach.