This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: What about boehm-gc under cygwin?


I see, thanks for explaining that.

Cheers,

/ChJ


-----Original Message-----
From: Billinghurst, David (CRTS)
[mailto:David.Billinghurst@riotinto.com] 
Sent: Monday, April 29, 2002 3:49 PM
To: Christian Jönsson; gcc@gcc.gnu.org
Subject: RE: What about boehm-gc under cygwin?


It gets built if java is enabled.  Try configuring with:
  --enable-languages=c++,g77,java, or
  don't specify --enable-languages at all

-----Original Message-----
From: Christian Jönsson [mailto:christian@j-son.org]
Sent: Monday, 29 April 2002 6:15 
To: gcc@gcc.gnu.org
Subject: What about boehm-gc under cygwin?


I just tried compiling gcc trunk under windows xp/cygwin.

I did the boehm-gc and ran it's test:

make[3]: Entering directory
`/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/boehm-gc'
make "AR_FLAGS=rc"      "CC_FOR_BUILD=gcc"      "CFLAGS=-g -O2"
"CXXFLAGS=-g -O2"       "CFLAGS_FOR_BUILD="     "CFLAGS_FOR_TARGET=-g
-O2"      "INSTALL=/bin/sh /usr/local/src/gcc-dev/gcc/install-sh -c"
"INSTALL_DATA=/bin/sh /usr/local/src/gcc-dev/gcc/install-sh -c -m 644"
"INSTALL_PROGRAM=/bin/sh /usr/local/src/gcc-dev/gcc/install-sh -c "
"INSTALL_SCRIPT=/bin/sh /usr/local/src/gcc-dev/gcc/install-sh -c"
"LDFLAGS="      "LIBCFLAGS=-g -O2"      "LIBCFLAGS_FOR_TARGET=-g -O2"
"MAKE=make"     "MAKEINFO=makeinfo   "  "PICFLAG=" "PICFLAG_FOR_TARGET="
"SHELL=/bin/sh"         "EXPECT=expect"         "RUNTEST=runtest"
"RUNTESTFLAGS="         "exec_prefix=/usr/local"
"infodir=/usr/local/info"       "libdir=/usr/local/lib"
"prefix=/usr/local"
"tooldir=/usr/local/i686-pc-cygwin"     "AR=ar"         "AS=as"
"CC=/usr/local/src/gcc-dev/objdir/gcc/xgcc
-B/usr/local/src/gcc-dev/objdir/gcc/ -B/usr/local/i686-pc-cygwin/bin/
-B/usr/local/i686-pc-cygwin/lib/ -isystem
/usr/local/i686-pc-cygwin/include"
"CXX=/usr/local/src/gcc-dev/objdir/gcc/g++
-B/usr/local/src/gcc-dev/objdir/gcc/ -nostdinc++ -nostdinc++
-I/usr/local/src/gcc-dev/objdir/
i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin
-I/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/libstdc++-v3/include
-I/usr/local/src/gcc-dev/gcc/libstdc++-v3/libsupc++
-I/usr/local/src/gcc-dev/gcc/libstdc++-v3/libio
-I/usr/local/src/gcc-dev/gcc/libstdc++-v3/include/backward
-I/usr/local/src/gcc-dev/gcc/libstdc++-v3/testsuite
-L/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/libstdc++-v3/src
-L/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/libstdc++-v3/src/.libs
-B/usr/local/i686-pc-cygwin/bin/ -B/usr/local/i686-pc-cygwin/lib/
-isystem /usr/local/i686-pc-cygwin/include"   "LD=ld"
"LIBCFLAGS=-g -O2"      "NM=nm"         "PICFLAG="      "RANLIB=ranlib"
"DESTDIR=" check-TESTS
make[4]: Entering directory
`/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/boehm-gc'
Completed 1 tests
Allocated 648021 collectable objects
Allocated 101 uncollectable objects
Allocated 1250000 atomic objects
Allocated 10880 stubborn objects
Finalized 2206/2206 objects - finalization is probably ok
Total number of bytes allocated is 60657252
Final heap size is 9428992 bytes
Collector appears to work
PASS: gctest
==================
All 1 tests passed
==================
make[4]: Leaving directory
`/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/boehm-gc'



But if I just run the configure script, I get this:

Configuring for a i686-pc-cygwin host.
*** This configuration is not supported in the following subdirectories:
     target-libffi target-boehm-gc target-zlib target-libjava
    (Any other directories should still work fine.)

So, my questions are these; Is boehm-gc supported under cygwin and if
so, why does the configury report not supported for target-boehm-gc?

Cheers,

/ChJ





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]