delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/20/14:08:09

X-Recipient: archive-cygwin AT delorie DOT 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 DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Warning: auto-export
References: <23638372 DOT post AT talk DOT nabble DOT com> <4A142EF8 DOT 1090507 AT gmail DOT com> <23640194 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <23640194.post@talk.nabble.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019