public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Linking Windowsx DLL to g77 (MinGW)
@ 2003-01-02 19:08 Andrew Gregory
  0 siblings, 0 replies; only message in thread
From: Andrew Gregory @ 2003-01-02 19:08 UTC (permalink / raw)
  To: 'gcc-help@gcc.gnu.org'

Trying to link to function (e.g. X01AAF) in a dll from which I've
generated an import libary using dlltool. 
Works perfectly from C - but if I link from a Fortran program I find
that underscores are appended to symbols. So get error: undefined
reference to `x01aaf_'
How can I stop Fortran adding these underscores, or alternatively
generate an import library with appended underscores?

Andrew.



-------------------------------------------------------------------
This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.

NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.

NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Teddington, Middlesex, United Kingdom TW11 0LW.
-------------------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-02 19:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-02 19:08 Linking Windowsx DLL to g77 (MinGW) Andrew Gregory

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).