-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
The INSTALL file says:
= start =
To cross compile, you must specify the correct variables:
- When running configure (CC, CXX, CXXFLAGS, LDLIBS, etc).
- Manually edit include/mk/config.mk, as described in Configuration.
Note: Do not specify variables on the command-line. Use config.mk instead.
= end =
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 :=
SYSROOT := --sysroot=
CC :=
LD :=
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
Metadata
Metadata
Assignees
Labels
No labels