diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2016-01-25 10:59:23 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2016-10-21 15:35:19 +0100 |
commit | c3c4bf022a631be939ebb4bf6f59e41514cb1e48 (patch) | |
tree | 357d89915f8284818673570e58a200846dab0c11 /.gitignore | |
parent | 0845a1c90f7a22a5b50fddbf7809d985b98290cd (diff) | |
download | ghostpdl-c3c4bf022a631be939ebb4bf6f59e41514cb1e48.tar.gz |
Bug 696508: improve configure cross compile support
This is a squashing of the commits on the branch:
CCAUX-configure
This allows CCAUX and related settings to be set on the configure command
line, or in the environment.
Also, using configure to guess at creating an arch.h file which gets used
rather than genarch generating one. A couple of things in that file will
not be as accurate as using genarch, but those are rare, and almost
certainly for outdated systems (such as whether floats use IEEE
representation).
Better documentation to follow, but as an example, building for Android would
work with:
./configure --host=arm-linux-gnu --build=x86_64-linux-gnu \
CC=/opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc \
CFLAGS="--sysroot=/home/cliddell/bin/android-ndk-r10e/platforms/android-18/arch-arm -MMD -MP -MF -fpic \
-ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp \
-mfpu=vfpv3-d16 -mthumb -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -Wa,--noexecstack" LDFLAGS=" \
--sysroot=/home/cliddell/bin/android-ndk-r10e/platforms/android-18/arch-arm -MMD -MP -MF -fpic -ffunction-sections \
-funwind-tables -fstack-protector -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb \
-fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -Wa,--noexecstack" CCAUX=gcc CFLAGSAUX=" "
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 24d896a6d..429563c44 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # Ignore editor backup files *~ +*.swp # Ignore bad merge files *.rej @@ -96,6 +97,10 @@ tiff tiff-config +/Makefile +/auxflags.mak + + # Adding the following lines would help limit the 'noise' seen in git status # due to files created during testing. Conversely, it prevents them being # removed with git clean. A compromise is to include them here commented out |