Hi,

 

Greetings,

 

I have been an active user of the Boost Regex Library, off late, and have been attempting to include this library into my project. I am still unsuccessful with all my efforts to include the library.

 

I require to include only the regular expression library into my project, and hence have tried to build the same using the ../ boost_1_47_0/libs/regex/build/ generic.mak file, but was unsuccessful.

 

I could compile the regex library using the gcc compiler with the below configuration

# gcc -v

Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs

Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/

lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without

-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disa

ble-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enabl

e-libstdcxx-debug

Thread model: posix

gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)

 

Make File excerpt:

 

INCLUDES=

 

DTOF   = MCF5270FS:simple

CCDIR  = c:/diab/4.4b/WIN32/bin

 

CMN_CFLAGS = \

   -Y I,diab4.4b_includes -XO -Xforce-prototypes -Xkeywords=0x08 -I. -Xkill-opt=0x010000 -Xenum-is-best -Xframe-ptr -Xlicense-wait -Xinline-explicit-force=100 -Xcomdat -Xexceptions-off

 

# CXXFLAGS= extra compiler options - note applies to all build variants

CXXFLAGS =  \

   -Xexceptions-off \

   $(CMN_CFLAGS)

 

LDFLGS = -YS,. -m2 -lm -lc -ld

 

CXX                        = $(CCDIR)/dplus -t$(DTOF)

AS                           = $(CCDIR)/das -t$(DTOF)

LD                           = $(CCDIR)/dld  $(LDFLGS) -t$(DTOF)

DD                          = $(CCDIR)/ddump

AR                          = $(CCDIR)/dar

 

Compiler details:

# ./dplus -VV

C:\diab\4.4b\win32\bin\dplus.exe Rel 4.4 Rev b

Copyright 1986-2001 Wind River Systems, Inc.

build date and time: Jun  1 2001 15:11:48

Table: ACE ELFEMB mnem. Rel 4.4b

Generate user.hpp file to match compiler configurations:

I tried to configure the compiler by following the instruction provided in “Using the configure script“  described in http://www.boost.org/doc/libs/1_47_0/libs/config/doc/html/index.html#configuring, but encountered the following errror:

998838@MIIPL-WF-26 /cygdrive/e/boost_1_47_0/boost_1_47_0/libs

# cd config

998838@MIIPL-WF-26 /cygdrive/e/boost_1_47_0/boost_1_47_0/libs/config

# export CXX="c:/diab/4.4b/WIN32/bin/dplus -tMCF5270FS:simple"

998838@MIIPL-WF-26 /cygdrive/e/boost_1_47_0/boost_1_47_0/libs/config

# export CXXFLAGS="-Y I,diab4.4b_includes -XO -Xforce-prototypes -Xkeywords=0x08 -I. -Xkill-opt=0x010000 -Xenum-is-best -Xframe-ptr -Xlicense-wait -Xinline-explicit-force=100 -Xcomdat -Xexceptions-off"

998838@MIIPL-WF-26 /cygdrive/e/boost_1_47_0/boost_1_47_0/libs/config

# export LDFLAGS="-YS,. -m2 -lm -lc -ld"

998838@MIIPL-WF-26 /cygdrive/e/boost_1_47_0/boost_1_47_0/libs/config

# sh ./configure

*** ./configure: boost configuration utility ***

Please stand by while exploring compiler capabilities...

Be patient - this could take some time...

Note that this test script only gives an approximate

configuration - you will need to test the results carefully

using the boost regression test suite before using the results.

***

Info : .cpp used as extension for tests

checking for boost main tree... ./../..

checking for C++ compiler default output file name...

configure: error: C++ compiler cannot create executables

See `config.log' for more details.

Reference Attachment 1: “config.log”.

Reference Attachment 2: “user.hpp” – Current configurations that is included to compile the regex library.


The following are the internal errors that I encounter while compiling the regex library.

 

Error 1:

 

"..\boost/mpl/aux_/integral_wrapper.hpp", line 72: internal compiler error (dplus:1000): - ctoi_mang_expr()

  please contact support@ddi.com

 

Error 2:

 

 ".\boost/concept_archetype.hpp", line 44: internal compiler error (dplus:1308): - assertion 'istmplfuncdef(dcl) || istmplfuncspec(dcl)' failed at ./..

/src/dparse/cdcl.c:2932\n

  please contact support@ddi.com

 

 

Kindly provide suggestions or alternates that I could try to proceed further.

 

Thanks,

Warm regards

Vikram Inoli

Vikram dot inoli at lnties dot com

 



Larsen & Toubro Limited

www.larsentoubro.com

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.