Ryan Mansfield(deleted)
09/17/2013 10:01 AM
post105161
|
On 13-09-17 06:55 AM, Rafal Szczesny wrote:
> Hi,
> I'm trying to build simple program for qnx on my linux machine using toolchain with gcc in 4.8.1 version.
>
> I get following error:
> as: unrecognized option '-EL'
>
> after executing this command:
> arm-unknown-nto-qnx6.5.0eabi-gcc -fPIC conftest.c
>
> Content of above file:
> int
> main ()
> {
> int a = 1;
> ;
> return 0;
> }
>
>
> Can anybody tell what I'm doing wrong?
gcc isn't finding ntoarm-as in your $QNX_HOST/usr/bin and it's
defaulting and finding the native linux 'as' which doesn't support the
-EL option. Check to make sure your $QNX_HOST is set properly? iif you
installed 4.8.1, then you should also install the updated binutils
package as well.
Regards,
Ryan Mansfield
|
|
|