diff options
Diffstat (limited to 'nx-X11/config/cf/cross.def')
-rw-r--r-- | nx-X11/config/cf/cross.def | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/nx-X11/config/cf/cross.def b/nx-X11/config/cf/cross.def new file mode 100644 index 000000000..9f71091f5 --- /dev/null +++ b/nx-X11/config/cf/cross.def @@ -0,0 +1,45 @@ +/* $XFree86: xc/config/cf/cross.def,v 1.1 2000/12/08 22:09:34 keithp Exp $ */ +/* + * This file contains redefinitions of some symbols to enable + * cross compilation: e.g. paths for include files and paths to + * compiler images. It will have to be edited to reflect these + * given your local configuration. + */ +#if 0 +#undef i386Architecture +#define Arm32Architecture + +#undef OptimizedCDebugFlags +#define OptimizedCDebugFlags -O2 +#define ServerCDebugFlags -O2 +#undef StandardDefines +#define StandardDefines -Dlinux -D__arm__ -D_POSIX_SOURCE \ + -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE +#undef CcCmd +#define StdIncDir /opt/Embedix/tools/arm-linux/include +#define PreIncDir +#undef PostIncDir +#define PostIncDir /opt/Embedix/tools/lib/gcc-lib/arm-linux/2.95.2/include +#define CcCmd /opt/Embedix/tools/bin/arm-linux-gcc +#undef CplusplusCmd +#define HasCplusplus YES +#define CplusplusCmd /opt/Embedix/tools/bin/arm-linux-g++ +#define DoRanlibCmd YES +#define RanlibCmd /opt/Embedix/tools/bin/arm-linux-ranlib +#undef ExtraLoadFlags +#define ExtraLoadFlags +#define FbNoPixelAddrCode +#undef TermcapLibrary +#define TermcapLibrary -ltermcap + +#undef LdPostLib +#define LdPostLib -L/opt/Embedix/tools/arm-linux/lib + +#undef ExtensionOSDefines +#define ExtensionOSDefines + +#define ServerXdmcpDefines /**/ + +#define HostCcCmd cc +#endif +#include <cross.rules> |