public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Fredriksson, Johan" <johan.fredriksson@tietoenator.com>
To: help-gcc@gnu.org
Subject: building dll on Solaris with the use of gnu-cross-compiler!
Date: Wed, 17 Apr 2002 03:48:00 -0000	[thread overview]
Message-ID: <EA45241BF0BBD41187DA00A0244ED4142BA3DC@ees2> (raw)

I'm trying to build a dll on the solaris platform with use of
gcc-cross-compiler and cygwin.
The problem is that if I use WINAPI when I create my dll-entry-point, 
as I should according to cygwin, the compiler or linker is not able to
interpret windows.h. 
In the second atemt I created i an Entry-point without 
using WINAPI...just a function returning int.
But when I use that I can't reach any of the functions inside my dll. 

My questions are:

1.Am I not able to use gcc-cross-compiler and cygwin to build a dll on the
solaris platform?

2. Why am I forced to use WINAPI when I create my Entry-point? All the
examples I've seen use that?

Regards
Johan Fredriksson
Sweden  

             reply	other threads:[~2002-04-17 10:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-17  3:48 Fredriksson, Johan [this message]
     [not found] <616BE6A276E3714788D2AC35C40CD18D5B27B0@whale.softwire.co.uk>
2002-04-17  7:49 ` Rupert Wood

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=EA45241BF0BBD41187DA00A0244ED4142BA3DC@ees2 \
    --to=johan.fredriksson@tietoenator.com \
    --cc=help-gcc@gnu.org \
    /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).