This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Creating a Windows dll in Linux?
- From: Christopher Faylor <gcc-help-use-the-mailing-list-please at gcc dot gnu dot org>
- To: michael dot kropinski at gm dot com, gcc-help at gcc dot gnu dot org
- Date: Wed, 26 Jul 2006 11:04:10 -0400
- Subject: Re: Creating a Windows dll in Linux?
- References: <OF2220194D.21D777CC-ON852571B7.004CC4F1-852571B7.004CE21A@gm.com>
On Wed, Jul 26, 2006 at 09:59:46AM -0400, michael.kropinski@gm.com wrote:
>Is it possible to create a Windows dll in Linux for this code?
Yes.
>Do I have to have a cross-compiler?
Yes. See http://www.kegel.com/crosstool/ for one example of tools available
for creating a cross-compiler
>I was hoping to not have to compile the source code twice.
Windows != Linux. Your really do have to recompile.
>If I converted this code into a library (in Linux), are there tools
>available either for Linux or Windows that would convert the library to
>a Windows dll.
No.
cgf