From: Youssef H. <yha...@dc...> - 2002-12-07 14:57:58
|
Hi mike, OKAY, the gc-code can be compiled with <make -fMakefile.dj> under = cygwin-bash-shell. gctest.exe can be generated under and it works. How to compile the src-code to get occ.exe ? Which Makefile shold one = use. I tried the Makefile.Linux (unser src/Unix) and got the following = error message: $ make -fMakefile.Linux g++ -O -g -c -o buffer.o ../buffer.cc In file included from ../types.h:131, from ../buffer.h:41, from ../buffer.cc:38: ../gc/gc_cpp.h:132:1: warning: "_cdecl" redefined ../buffer.cc:1:1: warning: this is the location of the previous = definition In file included from ../buffer.cc:38: ../buffer.h:80: `ostream' was not declared in this scope ../buffer.h:80: parse error before `,' token ../buffer.h:106: parse error before `&' token ............ =20 =20 #include <iostraeam> in bufer.h doesn't help. Any idea ? youssef -----Original Message----- From: Dupont, Michael [mailto:mic...@mc...] Sent: 06 December 2002 18:22 To: 'op...@cs...' Subject: RE: [opencxx] problems with compiling for gctest.exe I dont know if people use open c++ under cygwin,=20 right now I am busy with the gcc port.=20 this is the general instructions for porting software=20 1. make a list of the libs needed=20 2. get the sources=20 3. read the readmes=20 4. read the installation instructions=20 mostly under cygwin=20 ./configure=20 make=20 make test / make check=20 make install=20 mike=20 -----Original Message-----=20 From: Youssef HASSOUN [ mailto:yha...@dc...]=20 Sent: Friday, December 06, 2002 6:31 PM=20 To: op...@cs...=20 Subject: RE: [opencxx] problems with compiling for gctest.exe=20 Hi mike,=20 > Check that you might have to compile all the libs yourself.=20 Could you please tell me how to do that.=20 yousef=20 -----Original Message-----=20 From: James Michael DuPont [ mailto:mdu...@ya...]=20 Sent: 05 December 2002 12:44=20 To: op...@cs...=20 Subject: Re: [opencxx] problems with compiling for gctest.exe=20 did you compile libgc yourself?=20 I have libgc as part of gcc installed here,=20 # if defined(I_HIDE_POINTERS) || defined(GC_I_HIDE_POINTERS)=20 typedef GC_word GC_hidden_pointer;=20 # define HIDE_POINTER(p) (~(GC_hidden_pointer)(p))=20 # define REVEAL_POINTER(p) ((GC_PTR)(HIDE_POINTER(p)))=20 Check that you might have to compile all the libs yourself.=20 Mike.=20 --- Youssef HASSOUN <yha...@dc...> wrote:=20 > Hi,=20 > I use Borland's compiler bcc32.exe and linker ilinke.exe and I get=20 > the linker problem shown below.=20 > Any idea why is that ?=20 >=20 > TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation=20 > +alloc.obj +reclaim.obj +allchblk.obj +misc.obj +mach_dep.obj=20 > +os_dep.obj +mark_rts.obj +headers.obj +mark.obj +obj=20 > _map.obj +blacklst.obj +finalize.obj +new_hblk.obj +dbg_mlc.obj=20 > +malloc.obj +stubborn.obj +dyn_load.obj +typd_mlc.ob=20 > j +ptr_chck.obj +gc_cpp.obj +mallocx.obj=20 > c:\borland\bcc55\bin\bcc32 @MAKE0003.@@@=20 > Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland=20 > Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland=20 > Error: Unresolved external '_HIDE_POINTER' referenced from=20 > C:\PHD\TOOLS\OPENC++2.5.12\SRC\GC\GC.LIB|finalize=20 > Error: Unresolved external '_REVEAL_POINTER' referenced from=20 > C:\PHD\TOOLS\OPENC++2.5.12\SRC\GC\GC.LIB|finalize=20 >=20 > ** error 1 ** deleting gctest.exe=20 >=20 > Regards.=20 =3D=3D=3D=3D=3D=20 James Michael DuPont=20 http://introspector.sourceforge.net/=20 __________________________________________________=20 Do you Yahoo!?=20 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.=20 http://mailplus.yahoo.com=20 |