Re: Help needed with solving an axcall-related problem
On Fri, Jan 21, 2022 at 08:35:56AM +0100, Roland OE1RSA wrote:
> In case this is of interest, on my raspi 4:
>
> #include <iostream>
>
> int main(int argc, char* argv[]) {
> std::cout << "Hello World!" << std::endl;
> std::cout << "sizeof(int)=" << sizeof(int) << std::endl;
> std::cout << "sizeof(long int)=" << sizeof(long int) << std::endl;
> std::cout << "sizeof(long long int)=" << sizeof(long long int) <<
> std::endl;
> return 0;
> }
>
> g++ hello.cpp -o hello
> ./hello
>
> Hello World!
> sizeof(int)=4
> sizeof(long int)=8
> sizeof(long long int)=8
>
> Btw.: Result is same on amd64
Another question is the endianess (big endian vs. little endian),
because it may affect the unitinalized part of the variable used for the
ioctl. -- But: as far as I know, both systems are little endian.
Still can't say, why armhf behaves better in this bug case.
vy 73,
- Thomas dl9sau
Reply to: