[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cross compiling gpsd for ARM] packet.c x86_64-linux-gnu-gcc: not fo
From: |
Gary E. Miller |
Subject: |
Re: [cross compiling gpsd for ARM] packet.c x86_64-linux-gnu-gcc: not found ? |
Date: |
Wed, 22 Apr 2020 13:31:36 -0700 |
Yo Eddie!
On Wed, 22 Apr 2020 02:41:50 +0000
Eddie Sutton <address@hidden> wrote:
> At the start, it looks like everything is building fine using
> arm-poky-linux-gnueabi-gcc to target embedded Linux on ARM.
Care to tell us WHAT you are building? gpsd 3.20? gpssd git head?
Care to tell us HOW you are building? Your exact commont line.
> The second time it starts to build packet.c ( building
> packet_ffi_extension? ), the build switches to the host's native
> compiler x86_64-linux-gnu-gcc which while installed in the build
> host, cannot be found in the cross build environment.
The output log below is of no use without telling us the commands you
used to create that log.
> I cannot undersatnd why the build switches to using the host's native
> compiler x86_64-linux-gnu-gcc instead of continuing to use
> arm-poky-linux-gnueabi-gcc.
And with out the answers to above questions, no way for anyone else to
understand either.
Also, there are cross-compile fixes in git head. Please try that.
> /home/edward/Documents/projects/hddme_image/build-apalis-imx6/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/gpsd/3.19-r0/recipe-sysroot
Where did "3.19-r0" come from? That is NOT one of ours. And old.
Try git head.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpVofYgObadz.pgp
Description: OpenPGP digital signature