This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

Re: Does G77 on W95 produce standard .OBJ files ?


"John Aitchison" <jaitchis@lisp.com.au> writes:
> 
> I hope so .. I want to link some .OBJ files (Fortran77 source) into a 
> Delphi2 prog .. Delphi says it can be done as long as they are standard 
> Intel format relocatables , with some caveats  (below)
> 
> So, is a .O file produced by G77 (and I suppose therefore by GCC) the same 
> as a .OBJ file ?  

I'm assuming that the format you mention here is the same as the OMF
format used by Borland tools. GNU tools do not support OMF format, and 
until Borland changes it format to the more common and widely used 
PE-COFF, it shall remain that way (unless someone contributes the code 
needed to support OMF format of course). Even with PE-COFF, current 
binutils is not in general link compatible with MSVC compiled .OBJ 
files, but that'll hopefully change in the future.

> I would be happy to be pointed in the direction of the Fine Manual, if 
> there is one that addresses this point, so I can RTFM.
> 
> o, and a pointer to where I can read about producing DLL's with G77 would 
> be nice too.

Please see my dllhelpers package for g77 DLL example. 
  http://www.xraylith.wisc.edu/~khan/software/gnu-win32/#dllhelpers

Regards,
Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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