i installed a pre compiled version of the gcc on the mini2440 and i set the path using exort PATH=.... but when i type this command arm-linux-gcc -v it gives me error arm-linux-gcc :line 1 : syntax error : "(" unexpected (expecting ")" ) if any one can help please
set the path for gcc on mini2440
Which tutorial are following to run gcc natively on the mini2440? Haven't seen anyone write anything about doing that.
Actually i didnt find any tutorial my self and i needed the mini to have any version of Gcc i tried to use the arm-linux-gcc form the friendllyarm sit but it didnt work !
I guess (didn't try it yet) the GCC from FriendlyARM is a cross compiler. It runs on your host and creates executeables for the Mini2440. But this compiler cannot work on the Mini2440 itself.
Why you should compile something on a slow machine, when you can use a cross compiler on a high speed machine like your desktop is to do the same? And yes: the Mini2440 is a machine like every other computer. So you also can compile things on this target. But for this you need a full blown system on your Mini2440 (like your (maybe) host is).
you have to compile gcc for your system (or install the package) then just run gcc ... for small stuffs I find on-board compilation much easier (and you haven’t always a host at hand)