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
------------------------------------------------------------------------------
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
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to