building dll with the use of gcc-cross-comp. and cygwin
Fredriksson, Johan
johan.fredriksson@tietoenator.com
Thu Apr 11 10:57:00 GMT 2002
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
More information about the Gcc-help
mailing list