public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <iant@google.com>
To: Luc MOULINIER <moumou@igbmc.fr>
Cc: "gcc-help\@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: Re: creating a dll using a static library
Date: Fri, 18 Mar 2011 14:23:00 -0000	[thread overview]
Message-ID: <mcr62rgld7v.fsf@google.com> (raw)
In-Reply-To: <9D42FE4FC72AD04EA95803433003F67D09849B@SERV-MAILBOX1.igbmc.u-strasbg.fr>	(Luc MOULINIER's message of "Fri, 18 Mar 2011 12:25:34 +0000")

Luc MOULINIER <moumou@igbmc.fr> writes:

> I try to create a dynamic library, say toto.dll, using a static library, say libRmath.a. When loading the toto.dll library, an error occurs asking me for the libRmath.a library.
> The compilation is done as :
> gcc -shared toto.dll f1.o f2.o f3.o -L/c/tcl/lib -ltclstub86 -L. libRmath.a
> on Windows, MinGW and gcc 4.5.2
>
> Can soneone tell me what is wrong in my compilation ?

I don't know what is wrong, but I can tell you that you are much more
likely to get help if you tell us the exact error message.

Ian

  reply	other threads:[~2011-03-18 14:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-18 12:25 Luc MOULINIER
2011-03-18 14:23 ` Ian Lance Taylor [this message]
2011-03-18 15:36   ` RE : " Luc MOULINIER
2011-03-18 18:09     ` Ian Lance Taylor
2011-03-20  4:27 ` Juan Ramírez

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=mcr62rgld7v.fsf@google.com \
    --to=iant@google.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=moumou@igbmc.fr \
    /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).