CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 1999
    Location
    Russia
    Posts
    51

    Making win32 dll with GNU C compiler

    Hello. Is it possible (see subject) ?

    thanks.


  2. #2
    Join Date
    Feb 2002
    Location
    New Delhi
    Posts
    25

    Re: Making win32 dll with GNU C compiler

    If you require that your supposedly called dll should be named as libSomething.so under Unix/Linux environment and Something.dll under windows and should be able to compile the same code under two different environments(without any changes to the code) to produce the shared object and dll respectively, then there is a solution called ACE (Adaptive Communication Environment Library) go to http://www.cs.wustl.edu/~schmidt/ACE.html
    But if you mean that compiling your code with GNU produces a win dll, then i do not think it is possible Until GNU runs on Windows.

    Spread Love and Knowledge.
    Spread Love And Knowledge

  3. #3
    Join Date
    Feb 2002
    Location
    New Delhi
    Posts
    25

    Re: Making win32 dll with GNU C compiler

    If you wish that you can compile the code so that it produces a shared object under Linux/Unix environment and a dll under windows environment and would then run in their respecive environments. This is quite possibe using ACE (Adaptive communication environment) library. And if you just want that unsing GNU the output should be windows compatible, then i am afraid it won't do until GNU C compiler runs under windows!

    Spread Love and Knowledge.
    Spread Love And Knowledge

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured