Hello, I did forget the crucial point. To prepare DLL one has to create the so-called "export library". This library is created by the utility. That reads the object file in COFF format and pulls from there the external mangled names. There are two questions here: - whether Broland object files are COFF - if they are what is the mangling schema there. (I wonder it doesn't match that from MS) This means to switch to another compiler under Windows the existing bindexplib utility must be replaced, Probably Borland provides one, then the port will be more simple. Hope this helps, Valeri > My guess this should be not too complicate thanks Cygwin makefile's. > One has to replace the compiler/Linker names and check the compilation options. > Probably there will be some corrections with code due some different in languages. > I believe there will be very few corrections if any. > > Valeri > > > ----- Original Message ----- > From: "Fons Rademakers" <Fons.Rademakers@cern.ch> > To: "Andriy Mykulyak" <Andriy.Mykulyak@fuw.edu.pl> > Cc: "roottalkc - mailing list" <roottalk@pcroot.cern.ch> > Sent: Monday, July 09, 2001 3:58 AM > Subject: Re: [ROOT] ROOT + Borland C++ > > > > Hi Andy, > > > > you probably will have to recompile complete ROOT using this Borland compiler. > > If you manage please let me know and mail me the patches. > > > > Cheers, Fons. > > > > > > > Andriy Mykulyak wrote: > > > > > > Hello ROOTers, > > > > > > I am using ROOT v. 3.00 under MS Windows. When I am trying to compile the > > > ROOTTEST.CPP program (attached to this letter) with Borland C++ Builder 5.5 > > > free command-line compiler, I get the "Error: E:\ROOT\LIB\LIBxxx.LIB' contains > > > invalid OMF record, type 0x21 (possibly COFF)". Converting all ROOT libraries > > > with "coff2omf" utilite (batch file for this also attached) does not help. > > > What's could be done with this ? > > > > > > Thanks in advance, > > > > > > Andriy Mykulyak. > > > > > > Name: roottest.cpp > > > roottest.cpp Type: unspecified type (application/octet-stream) > > > Encoding: 7bit > > > > > > Name: makefile > > > makefile Type: unspecified type (application/octet-stream) > > > Encoding: 7bit > > > > > > Name: libconv.bat > > > libconv.bat Type: unspecified type (application/octet-stream) > > > Encoding: quoted-printable > > > > -- > > Org: CERN, European Laboratory for Particle Physics. > > Mail: 1211 Geneve 23, Switzerland > > E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 > > WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910 > > > >
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:51 MET