Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2012 11:23:17 +0200
From:      Cos Chan <rosettas@gmail.com>
To:        freebsd-arm@freebsd.org
Subject:   arm-eabi cross toolchain
Message-ID:  <CAKV%2BxLBupVMYTijUXzTwJ0Ha6UmcN7N2gOmP8BBQAEoqEAisAA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKV%2BxLBupVMYTijUXzTwJ0Ha6UmcN7N2gOmP8BBQAEoqEAisAA>