1

Topic: an array byte 64 the bit compiler and to use 32

Greetings! There is some 32uh-bit aaplet. An aaplet  some resources, which   as an array byte: static const char res [] = {0x01, 0x02, 0x03...}; all was good, while storage that  this array sufficed the 32uh-bit compiler. Tried  this array the 64eh-bit compiler, and  in 32 the bit program - not , an object file format . Whether it is possible generally such to make, and how? Thanks.

2

Re: an array byte 64 the bit compiler and to use 32

Hello, niXman, you wrote: X> tried  this array the 64eh-bit compiler, and  in 32 the bit program - not , an object file format . Whether X> it is possible generally such to make, and how? Compiled with-m32? It is possible it is resource not to push in an array, and  directly. https://balau82.wordpress.com/2012/02/1 … -with-gcc/

3

Re: an array byte 64 the bit compiler and to use 32

Hello, niXman, you wrote: X> greetings! Whether X> it is possible generally such to make, and how? Certainly. It is a cross-compilation special case. Restrictions here are not present except one: the array res nevertheless should be small enough entirely to get into 32 bit address space of the target program. X> tried  this array the 64eh-bit compiler, and  in 32 the bit program - not , an object file format . Well if wrong parameters to transfer, or if the compiler does not support cross-compilation, that, alas, such outcome too is possible. X> there is some 32uh-bit aaplet. An aaplet  some resources, which   as an array byte: X> X> static const char res [] = {X> 0x01, 0x02, 0x03... X>}; X> X> all was good, while storage that  this array sufficed the 32uh-bit compiler. But it is clear that in this case completely not mandatory to pass such  through a C ++ the compiler. Why simply not to use the utility which  the array and supposes it in the object file without any huge separation of storage (everyones incbin from assemblers, for example).

4

Re: an array byte 64 the bit compiler and to use 32

Hello, niXman, you wrote: X> all was good, while storage that  this array sufficed the 32uh-bit compiler. X> tried  this array the 64eh-bit compiler, and  in 32 the bit program - not , an object file format . Whether X> it is possible generally such to make, and how? X> thanks. In VS (last) there is a 64-bit compiler for a 32-bit platform. I, truth, them from command line .

5

Re: an array byte 64 the bit compiler and to use 32

Hello, Kovalenko Dmitry, you wrote: > In VS (last) there is a 64-bit compiler for a 32-bit platform. The studio for a long time supports x64 : https://stackoverflow.com/questions/198 … -toolchain