Segmentation Fault

My “Hello World” Pi app fails with Seg fault. What am I doing wrong?

Are you sure it’s built for the correct processor?

The project is definitely set to arm 32 bit. Perhaps it’s because it is a B+ rather than a Pi2?

That would do it. You need at least a pi 2.

Checked the architecture - ARMV6. Time to buy a new one! Thanks Greg.

Same Problem with raspberry pi3

i use raspbian

i set up all flags and i don’t understand