I have a 64bit machine which is used to compile arm binaries.
make linux-armv4tl
according to the manual should build only for the arm system.
But obviously it doesn't. First the compilation starts with the host architecture
(linux-x86_64 in my case)
Q: Is there a way to compile only for a specific T_A ?
The host native gcc doesn't compile the ARM assembly code correctly.
See below
[...]
/usr/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500
-D_X86_64_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -O3 -Wall -DDEBUG -m64
-g -fPIC -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include
-I/usr/local/epics/base/3.14.11/include/os/Linux -I/usr/local/epics/base/3.14.11/include
-I/usr/local/epics/extras/3_14_11-20110107_142859/asyn/4-12-20110107_152039/include
-I/usr/local/epics/extras/3_14_11-20110107_142859/calc/2-7-20110107_151847/include
-I/usr/local/epics/extras/3_14_11-20110107_142859/genSub/1-6a-20110107_151216/include
-I/usr/local/epics/extras/3_14_11-20110107_142859/sscan/2-6-5-20110107_151705/include
-I/usr/local/epics/extras/3_14_11-20110107_142859/stream/2-4a-20110107_153019/include
../portThread_useHardware.c
../peekpoke.h: Assembler messages:
../peekpoke.h:39: Error: invalid char '[' beginning operand 2 `[ %rax]'
../peekpoke.h:39: Error: invalid char '[' beginning operand 2 `[ %rax]'
[...]
make[1]: *** [portThread_useHardware.o] Error 1
make[1]: Leaving directory
`/home/cls1fs/epics/epics2/svn/iocs/cls1/drv/ts7000/src/O.linux-x86_64'
make: *** [install.linux-x86_64] Error 2
--
Emmanuel
- Replies:
- Re: Make target_arch only ... doesn't seem to work on 3.14.11 emmanuel_mayssat
- Navigate by Date:
- Prev:
RE: GigE cameras stops Pavel Stoffel
- Next:
Re: Make target_arch only ... doesn't seem to work on 3.14.11 emmanuel_mayssat
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
<2011>
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: GigE cameras stops Bruce Hill
- Next:
Re: Make target_arch only ... doesn't seem to work on 3.14.11 emmanuel_mayssat
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
<2011>
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|