arm-eabi cross toolchain

Cos Chan rosettas at gmail.com
Tue Oct 9 09:23:19 UTC 2012


Dear All

I am planning build a toolchain in FreeBSD 9 for ARM processor Samsung
2440, the target system is Linux

I have built /usr/ports/devel/cross-binutils and
/usr/ports/devel/cross-gcc by these options:

$ sudo make TGTARCH=arm TGTABI=eabi install

the building is successful and all programs installed to /usr/local/arm-eabi/.

Then I tested a helloworld program building here:

$ /usr/local/arm-eabi/bin/gcc hw.c
gcc: error trying to exec 'cc1': execvp: No such file or directory

Seems the error is cc1 missing, How can I solve this problem?
Another small question is how can I redefin cc to
/usr/local/arm-eabi/bin/gcc but not default one. I have tried
environment variable but not working, still old one.

-- 
with kind regards

Cos


More information about the freebsd-arm mailing list