I encounter an error when compiling the toolchain (strictly following the quickstart PDF): gcc -c -g -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W .... genmodes.c /opt/OSELAS.Toolchain-2011.03.1/arm-v4t-linux-gnueabi/gcc-4.5.2-glibc-2.13-binut ils-2.21-kernel-2.6.36-sanitized/bin/arm-v4t-linux-gnueabi-as: unrecognized option '--32' Why is the arm cross assembler invoked when building the toolchain? I would expect that the host (ubuntu) gcc assembler is invoked. NB the problem occurs in the directory /.../build-cross/gcc-4.5.2-first-build/gcc. This directory contains a local 'as' script, which invokes the arm cross assembler. Any thoughts?
2440 toolchain compilation fails
Sorry for the rather rude entry! I was too busy with the problem itself... I should have added: I looked in the forum but did not find anything alike. Hopefully someone can help me! Thanks in advance Eric
Might get a quicker response here: http://blog.gmane.org/gmane.comp.embedded.ptxdist.oselas.community
I found the cause of the problem: my path variable was set to '.' first, so that indeed the local (arm) as was invoked by the gcc instead of the x86 assembler. Maybe that the ptxdist could check for this situation? Eric
Tybert, can you setup again your system in the same way when the error happens and then run "ptxdist print PATH"? Background: PTXdist is already prepared to sort out the "." in the PATH. But it seems not work reliable in some way. So, your help is needed.