Home › Forums › Raspberry Pi Compatible Compiler for LabVIEW Forum › Raspberry Pi Compatible Compiler for LabVIEW Support Forum › How is cross compiler formed?
I was hoping it might be simple enough to just install the gnueabihf cross compiler in ubuntu and usearm-linux-gnueabihf-gcc -march=armv6zk -mfpu=vfp -mfloat-abi=hard -marm -mcpu=arm1176jzf-smtune=arm1176jzf-s helloworld.c
This works, except where it crashes instantly when run under raspbian
I’m assuming this is a linking with a default crt built the wrong way, sort of problem, is this right?Also tried the 32bit compiler however that isn’t hardfloat so fails to link.Any suggestions?
I didn’t find the right solution from the internet.
You must be logged in to reply to this topic.