Re: R: C++ program produces no output (g++ 4.3.2, cygwin 1.7)

2009-04-24 Thread Corinna Vinschen
On Apr 24 13:29, Eric Lilja wrote: > Quite recently, however, I moved from XP to Vista and some of > these projects haven't been touched since I used XP (like the one I've > been asking about in this thread). Do you think that is the problem, me > moving from XP to Vista and using files I in

Re: R: C++ program produces no output (g++ 4.3.2, cygwin 1.7)

2009-04-24 Thread Dave Korn
Eric Lilja wrote: > Marco Atzeri wrote: >> >> try >> LDFLAGS = -Wl,--enable-auto-import -o $(EXEC) > > Yes, that did fix it, thank you very much. I should have tried it myself > and I apologise for not doing so. The reason why I didn't, is that the > other programs I tried earlier worked even if I

Re: R: C++ program produces no output (g++ 4.3.2, cygwin 1.7)

2009-04-24 Thread Eric Lilja
Corinna Vinschen wrote: On Apr 24 09:38, Eric Lilja wrote: cp Makefile Makefile3 then I opened it with my native windows emacs and it only says: file exists but cannot be read. So I checked the permissions on it with ls -l: $ ls -l Makefile3 -- 1 mindcooler None 299 Apr 24 09:32 Makef

Re: R: C++ program produces no output (g++ 4.3.2, cygwin 1.7)

2009-04-24 Thread Corinna Vinschen
On Apr 24 09:38, Eric Lilja wrote: > cp Makefile Makefile3 > then I opened it with my native windows emacs and it only says: file > exists but cannot be read. So I checked the permissions on it with ls -l: > $ ls -l Makefile3 > -- 1 mindcooler None 299 Apr 24 09:32 Makefile3 > > and the o

Re: R: C++ program produces no output (g++ 4.3.2, cygwin 1.7)

2009-04-24 Thread Eric Lilja
Marco Atzeri wrote: try LDFLAGS = -Wl,--enable-auto-import -o $(EXEC) Yes, that did fix it, thank you very much. I should have tried it myself and I apologise for not doing so. The reason why I didn't, is that the other programs I tried earlier worked even if I ignored this warning and this

R: C++ program produces no output (g++ 4.3.2, cygwin 1.7)

2009-04-23 Thread Marco Atzeri
--- Gio 23/4/09, Eric Lilja ha scritto: > Da: Eric Lilja > Oggetto: C++ program produces no output (g++ 4.3.2, cygwin 1.7) > A: cygwin@cygwin.com > Data: Giovedì 23 Aprile 2009, 22:42 > Hi, attached is the source for a C++ > program (with a Makefile) that produces no output when run > (I tried