Xref: news2.mv.net comp.os.msdos.djgpp:3408 From: elric AT wheel DOT ucdavis DOT edu (Jeffrey Taylor) Newsgroups: comp.os.msdos.djgpp Subject: Re: MSDOS-compatibility (OBJ-files etc.) Date: 3 May 1996 16:29:14 GMT Organization: Davis Community Network - Davis, California, USA Lines: 48 Message-ID: <4mdc8q$20g@mark.ucdavis.edu> References: <4mauv0$ag7 AT madeline DOT INS DOT CWRU DOT Edu> NNTP-Posting-Host: wheel.dcn.davis.ca.us To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Richard Smol (bl227 AT cleveland DOT Freenet DOT Edu) wrote: : Hello, : As a Borland user I decided to give djgpp a chance. I really like it, : especially since there is a TurboVisio-like IDE for it now (though : I really miss the online help... I guess you can't have it all.) : Now I'd really like to be able to use my C++ programs with other : programs/languages and one way of doing it is to define an OBJ-file, : that you link with the other files. : Since C++ uses unix-like .o file this is not possible though. : Is there a way to create Microsoft-compatible .OBJ file with djgpp? : I also have no idea how djgpp's protected mode would conflict with : real-mode programs then. To be honest, this DPMI-stuff still baffles me : (no modes? hmmm...). I also dislike having to use some sort of : DPMI-manager all the time... can't djgpp be used to use (16 bit) real-mode : programs as well? That would be handy in terms of MSDOS-compati- : bility. : Just wondering. : Greetz, : RS : In general, object code format are not compatible between compilers. I haven't tried this for several releases of BOrland and Microsoft, but in the past I had to be careful when switching back and forth to get rid of all object code and libraries. This meant that there were 5 different versions of our image compression toolkit on one release (Microsoft 5.1 and 6, Borland C++ 2.0, 3.0, and 3.1). Major releases are often not compatible with the previous release. This seems to have improved somewhat, the actual code seems stable, but debug info is still changing between releases. There is no "MS-DOS standard" object file format. Get the source and recompile. Mixing languages is even trickier. The closest thing to a object library standard is DLLs. -- ============================================ Without my guitar, I am a poet without arms. - Michael Bloomfield ============================================