From: Duncan Sands <duncan.sands@math.u-psud.fr>
To: gcc-help@gcc.gnu.org
Cc: Michael Swanson <rearden@atlantisvalley.com>
Subject: Re: Problem compiling simple Ada program
Date: Wed, 29 Jun 2005 20:20:00 -0000 [thread overview]
Message-ID: <200506292219.54777.duncan.sands@math.u-psud.fr> (raw)
In-Reply-To: <42C3005B.8070903@atlantisvalley.com>
> This compiles fine, but when I try to link the hello.o file, I get this
> error:
> hello.o:hello.adb:(.text+0x18): undefined reference to
> '_ada__text_io__put_line__2'
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libvmain.o)::
> undefined reference to '_WinMain@16'
> collect2: ld returned 1 exit status
Are you linking using gnatlink?
Ciao,
Duncan.
prev parent reply other threads:[~2005-06-29 20:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-29 20:11 Michael Swanson
2005-06-29 20:20 ` Duncan Sands [this message]
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=200506292219.54777.duncan.sands@math.u-psud.fr \
--to=duncan.sands@math.u-psud.fr \
--cc=gcc-help@gcc.gnu.org \
--cc=rearden@atlantisvalley.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).