From Dimi, I know winegcc/wineg++'s support for winelib dll building are not implemented now,
 
So now I have to resort to gcc to build winelib dll...
Since what winegcc does is let gcc work with mingW features, I think I can use gcc directly to build winelib dll. I noticed there are lots of dlls provided by wine, it seems all these dlls are built from windows codes using gcc and complex make files.
 
Does anyone happen to know any samples or documents about how to build winelib dll
from windows codes. I found the info provided by winehq.com is too limited.
 
Thanks a lot!
 
-Lechun
 
When I try to port a small application sample provided by winelib user's guild
 
enter winemine directory, type:
 
$winemaker -lower-uppercase .
$./configure -with-wine=/usr/local/wine
$make
 
It shows error when I run the second command ./configure
 
I get the error:

ng whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for sqrt in -lm... yes
checking for iswalnum in -lw... no
checking for gethostbyname... yes
checking for connect... yes
checking "for gcc strength-reduce bug"... no
checking "whether external symbols need an underscore prefix"... no
checking "whether we can build a Linux dll"... yes
checking "whether we need to define __i386__"... no
checking "for g++ -fpermissive option"... yes
checking "for g++ -fno-for-scope option"... yes
checking for windef.h... configure: error: Could not find the Wine headers (windef.h)

Could you please give comments on how to fix it? Thank you very much.
 



 


Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!