* [LTP] Cross compiling LTP
@ 2014-06-18 1:01 Aman Wardak
2014-06-18 11:12 ` chrubis
0 siblings, 1 reply; 2+ messages in thread
From: Aman Wardak @ 2014-06-18 1:01 UTC (permalink / raw)
To: ltp-list
[-- Attachment #1.1: Type: text/plain, Size: 801 bytes --]
The INSTALL file says:
===
To cross compile, you must specify the correct variables:
1. When running configure (CC, CXX, CXXFLAGS, LDLIBS, etc).
2. Manually edit include/mk/config.mk, as described in Configuration.
Note: Do not specify variables on the command-line. Use config.mk instead.
===
I copied include/mk/config.mk.default to include/mk/config.mk and edited
include/mk/config.mk to include the my cross-compile variables:
CROSS_COMPILE := <my path>
SYSROOT := --sysroot=<my path to my sysroot>
CC := $(CROSS_COMPILE)gcc $(SYSROOT)
LD := $(CROSS_COMPILE)ld $(SYSROOT)
I then ran "./configure --host=x86_64-linux-gnu
--prefix=/nobackup/awardak/ltp/ltp-full-20140115/build/" and it overwrote
my config.mk changes above.
How do I properly set my cross compilation env?
Thanks,
Aman
[-- Attachment #1.2: Type: text/html, Size: 1118 bytes --]
[-- Attachment #2: Type: text/plain, Size: 370 bytes --]
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-18 11:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-18 1:01 [LTP] Cross compiling LTP Aman Wardak
2014-06-18 11:12 ` chrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox