public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Krishna, Buska (IE10)" <Krishna.Buska@honeywell.com>
To: cygwin@cygwin.com
Subject: Linking Problem
Date: Thu, 23 Aug 2001 22:06:00 -0000	[thread overview]
Message-ID: <CDDB93E84A8DD411B01900D0B782784001AD0D08@ie10-sahara.hiso.honeywell.com> (raw)

Hi all

	I got a strange problem. I am having a  .a file which exports a
function with 2 arguments, one is a record with three fields and the other
one is a void *.  We have formed the archive file using cygwin. The exported
function is exporting at 16 value. That is, in the export symbols I could
see  function@16. As I know if there are two parameters in the exported
function, it should be exported @8 only. When I am trying to import the same
function using a C program it is importing this function @16 only. But if,
I import the same function in Ada program (I am using GNAT3.13p compiler.)
by using pragma Import it is importing @8. So its giving linking problem. 
What could be the problem? The source code in the archive  file is written
in C. 

Thanks in advance.

Krishna


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

             reply	other threads:[~2001-08-23 22:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-23 22:06 Krishna, Buska (IE10) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-11-26  7:20 Linking problem 向阳 韩
2004-11-26 18:45 ` Larry Hall
2002-01-04  4:50 linking problem Guenther Sohler
2002-01-07  5:37 ` Pavel Tsekov
2001-08-24 15:10 Linking Problem Heribert Dahms
2000-11-27  7:11 Linking problem Earnie Boyd
2000-11-26 17:53 Earnie Boyd
2000-11-23  4:20 Reuben Thomas
2000-11-24  5:25 ` Reuben Thomas
1998-09-18 22:21 linking problem Frankie Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CDDB93E84A8DD411B01900D0B782784001AD0D08@ie10-sahara.hiso.honeywell.com \
    --to=krishna.buska@honeywell.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).