This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 ignored this warning and
> this is such a simple program. I thought I could avoid having to change
> all my Makefiles only have to change them back again when the next
> release of g++ comes, heh. Now I know better.

  There'll be a new release of binutils soon (or you could build your own from
CVS) that will enable auto-import by default, silencing all these warnings and
fixing any cases such as yours where it does actually matter.

    cheers,
      DaveK


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]