X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A144996.9060508@gmail.com>
Date: Wed, 20 May 2009 19:19:02 +0100
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Warning: auto-export
References: <23638372.post@talk.nabble.com> <4A142EF8.1090507@gmail.com> <23640194.post@talk.nabble.com>
In-Reply-To: <23640194.post@talk.nabble.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

faiz2009 wrote:
> I am very sorry Vincent R if i posted in french, i don't know that is
> forbidden, and thanks for your response Dave.
> Is there an other way to add flags directly in the line commande c++ -o prog
> prog.cpp because i do not know how to use the Makefile. 
> 

  Just add  LDFLAGS="-Wl,--enable-auto-import" to your ./configure command
line.  The configure script will put it into the makefile for you.

    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/

