abhiTronix / raspberry-pi-cross-compilers

Latest GCC Cross Compiler & Native (ARM & ARM64) CI generated precompiled standalone toolchains for all Raspberry Pis. 🍇
https://sourceforge.net/projects/raspberry-pi-cross-compilers
GNU General Public License v3.0
595 stars 104 forks source link

crt1.o: No such file or directory. #112

Closed larsk2009 closed 2 months ago

larsk2009 commented 2 years ago

Hi,

Thanks for this project. I am getting this error: cannot find crt1.o: No such file or directory and cannot find crti.o: No such file or directory while cmake tries to compile the "simple test program". I looked trough some existing issue but I couldn't fix it. I see that my sysroot does contain these files so I am unsure what the issue is. Do you have any ideas?

gsieben commented 1 year ago

You must follow the instructions carefully. Also the steps on the Raspberry are important.

You probably have step over

Steps/Settings for Target Machine (Raspberry Pi): 8. Setup Important Symlinks as follows: (Important)

of the instructions.

This must be executed on the Raspberry before the files are dragged to the host with rsync.

Steps/Settings for Host Machine (PC/Laptop): 4. sync Raspberry Pi rootfs (Most Important)

abhiTronix commented 2 months ago

@larsk2009 This is a configuration issue and not toolchain issue, kindly read docs properly and resolve this at your end.