Re: mingw headers and libraries missing

2009-07-29 Thread Georg Troska
Ok, thank you all for reading this stuff I'm able to run the code now with visual c++. I had never thought I would use it ;-) actually it took me 3 hours to run a hello world and anther 6 to run the code however thanks a lot. and please let me now when the cross-comipler is working

Re: mingw headers and libraries missing

2009-07-29 Thread Georg Troska
Wow, sounds I have all the experts sitting together in this list. Maybe you can help me once more: First a brief plan: I'm working for the ATLAS-Collaborationand we need for detectordevelopment a programinterface. We have one really big and really old programm written in LabWindows C Cod

Re: mingw headers and libraries missing

2009-07-28 Thread Dave Korn
Chris Sutcliffe wrote: >> It'll just be a matter of replacing "gcc -mno-cygwin" by >> "i686-pc-mingw32-gcc". > > I know I'm going off-topic here, but I believe you mentioned before, > mingw-runtime and w32api will have to move locations. I'd be more > than happy to accomodate (I'm really lookin

Re: mingw headers and libraries missing

2009-07-28 Thread Chris Sutcliffe
>  It'll just be a matter of replacing "gcc -mno-cygwin" by > "i686-pc-mingw32-gcc". I know I'm going off-topic here, but I believe you mentioned before, mingw-runtime and w32api will have to move locations. I'd be more than happy to accomodate (I'm really looking forward to a true mingw cross-c

Re: mingw headers and libraries missing

2009-07-28 Thread Colin Harrison
Hi, "simple enough for a dumb engineer who is not a programmer" Couldn't resist I bet that dumb engineer "Can't write a software wizard" but he "Sure plays a mean pinball" Thanks, Colin Harrison (Engineer) -- Problem reports: http://cygwin.com/problems.html FAQ: ht

Re: mingw headers and libraries missing

2009-07-28 Thread Larry Hall (Cygwin)
On 07/28/2009 05:03 PM, Dave Korn wrote: Charles D. Russell wrote: Dave Korn wrote: Charles D. Russell wrote: Dave Korn wrote: You have just discovered why -mno-cygwin is a kludgey hack that we are removing from future versions of the compiler! Kludgey perhaps, but handy for me. If I wa

Re: mingw headers and libraries missing

2009-07-28 Thread Dave Korn
Charles D. Russell wrote: > Dave Korn wrote: >> Charles D. Russell wrote: >>> Dave Korn wrote: >>> You have just discovered why -mno-cygwin is a kludgey hack that we are removing from future versions of the compiler! >>> Kludgey perhaps, but handy for me. If I want to give a copy of on

Re: mingw headers and libraries missing

2009-07-28 Thread Charles D. Russell
Dave Korn wrote: Charles D. Russell wrote: Dave Korn wrote: You have just discovered why -mno-cygwin is a kludgey hack that we are removing from future versions of the compiler! Kludgey perhaps, but handy for me. If I want to give a copy of one of my fortran console apps to a colleague, I

Re: mingw headers and libraries missing

2009-07-28 Thread Dave Korn
Charles D. Russell wrote: > Dave Korn wrote: > >> >> You have just discovered why -mno-cygwin is a kludgey hack that we are >> removing from future versions of the compiler! > > Kludgey perhaps, but handy for me. If I want to give a copy of one of > my fortran console apps to a colleague, I ca

Re: mingw headers and libraries missing

2009-07-28 Thread Charles D. Russell
Dave Korn wrote: You have just discovered why -mno-cygwin is a kludgey hack that we are removing from future versions of the compiler! Kludgey perhaps, but handy for me. If I want to give a copy of one of my fortran console apps to a colleague, I can simply recompile it with -mno-cygwin.

Re: mingw headers and libraries missing

2009-07-28 Thread Georg Troska
Hi Dave, the dependency was a bug of my own. I tried linked against pthread... now the my dll does not depend on cygwin1.dll anymore Thanks a lot for your help Georg Am 28.07.2009 um 12:56 schrieb Georg Troska: Hi, this information was very usefull to me. Thank you very much. My plan is to

Re: mingw headers and libraries missing

2009-07-28 Thread Dave Korn
Georg Troska wrote: > Hi, > this information was very usefull to me. Thank you very much. > > My plan is to build a dll with cygwin, that does not depend on cygwin1.dll. > unfortunatelly my library is build now (that is great) but it still > depends on cygwin1.dll (I have done objdump -P .. | grep

Re: mingw headers and libraries missing

2009-07-28 Thread Georg Troska
Hi, this information was very usefull to me. Thank you very much. My plan is to build a dll with cygwin, that does not depend on cygwin1.dll. unfortunatelly my library is build now (that is great) but it still depends on cygwin1.dll (I have done objdump -P .. | grep dll) Is it possible that

Re: mingw headers and libraries missing

2009-07-28 Thread Dave Korn
Georg Troska wrote: > hi, > thank you very much for this information > > Where o I find windsock.h and its library? Do I need a SDK (e.g. Visual > C++) for this? Nope, you need the w32api package (you should probably already have it), this works for both cygwin and mingw compiles and provides h

Re: mingw headers and libraries missing

2009-07-28 Thread Georg Troska
hi, thank you very much for this information Where o I find windsock.h and its library? Do I need a SDK (e.g. Visual C++) for this? georg Am 27.07.2009 um 21:29 schrieb Andy Koppe: 2009/7/27 Georg Troska: I want to compile some code with -mno-cygwin. Unfortunately some mingw-libs are missi

Re: mingw headers and libraries missing

2009-07-27 Thread Andy Koppe
> 2009/7/27 Georg Troska: >> I want to compile some code with -mno-cygwin. >> Unfortunately some mingw-libs are missing (sys/select.h, sys/cdefs.h). also >> the corresponding libraries >> >> How can I get them? > > You can't, because MingW doesn't implement select(). ps: Windows itself has a selec

Re: mingw headers and libraries missing

2009-07-27 Thread Andy Koppe
2009/7/27 Georg Troska: > I want to compile some code with -mno-cygwin. > Unfortunately some mingw-libs are missing (sys/select.h, sys/cdefs.h). also > the corresponding libraries > > How can I get them? You can't, because MingW doesn't implement select(). Andy -- Problem reports: http://c