Skip to content
Browse files

- Updated building from make to run from the qnx/ subdirectory.

- Adds x86 simulator output targets.
  • Loading branch information...
1 parent 76613ef commit 3b6ebc3f8e1ee8b4b5c6b94afaba4c70af2e7ab3 Chris Culy committed
View
9 README
@@ -409,9 +409,14 @@ Building PCRE for QNX from Windows
- To build for the QNX platform on Windows, run cmd.exe and execute the following commands:
> cd [bbndk] where [bbndk] is where the QNX NDK was installed (i.e. C:\bbndk)
> NativeSDK-env.bat
-> cd [pcre] where [pcre] is the directory where PCRE was extracted to
+> cd [pcre]/qnx where [pcre] is the directory where PCRE was extracted to
> make
-Following this, the relevant binaries should reside in the arm/ subdirectory.
+Following this, the relevant binaries should reside in the following subdirectories:
+ libpcre:
+ [pcre]/qnx/arm/a.le.v7 (ARM release)
+ [pcre]/qnx/arm/a.le.v7.g (ARM debug)
+ [pcre]/qnx/x86/a (x86 simulator release)
+ [pcre]/qnx/x86/a.g (x86 simulator debug)
Retrieving configuration information on Unix-like systems
View
0 Makefile → qnx/Makefile
File renamed without changes.
View
8 qnx/arm/Makefile
@@ -0,0 +1,8 @@
+LIST=VARIANT
+ifndef QRECURSE
+QRECURSE=recurse.mk
+ifdef QCONFIG
+QRDIR=$(dir $(QCONFIG))
+endif
+endif
+include $(QRDIR)$(QRECURSE)
View
1 qnx/arm/a.le.v7.g/Makefile
@@ -0,0 +1 @@
+include ../../common.mk
View
1 qnx/arm/a.le.v7/Makefile
@@ -0,0 +1 @@
+include ../../common.mk
View
4 common.mk → qnx/common.mk
@@ -3,13 +3,13 @@ QCONFIG=qconfig.mk
endif
include $(QCONFIG)
-NAME=PCRE
+NAME=pcre
#===== CCFLAGS - add the flags to the C compiler command line.
CCFLAGS+=-DHAVE_CONFIG_H
#===== EXTRA_SRCVPATH - a space-separated list of directories to search for source files.
-EXTRA_SRCVPATH+=$(PROJECT_ROOT)/
+EXTRA_SRCVPATH+=$(PRODUCT_ROOT)
include $(MKFILES_ROOT)/qtargets.mk
View
8 qnx/x86/Makefile
@@ -0,0 +1,8 @@
+LIST=VARIANT
+ifndef QRECURSE
+QRECURSE=recurse.mk
+ifdef QCONFIG
+QRDIR=$(dir $(QCONFIG))
+endif
+endif
+include $(QRDIR)$(QRECURSE)
View
1 qnx/x86/a.g/Makefile
@@ -0,0 +1 @@
+include ../../common.mk
View
1 qnx/x86/a/Makefile
@@ -0,0 +1 @@
+include ../../common.mk

0 comments on commit 3b6ebc3

Please sign in to comment.
Something went wrong with that request. Please try again.