delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Date: | Fri, 10 Oct 2003 11:23:43 +0200 |
From: | "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de> |
Reply-To: | "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de> |
Organization: | Esse keine toten Tiere |
X-Priority: | 3 (Normal) |
Message-ID: | <40774689114.20031010112343@familiehaase.de> |
To: | "Joost Kraaijeveld" <J DOT Kraaijeveld AT Askesis DOT nl> |
CC: | "Cygwin (E-mail)" <cygwin AT cygwin DOT com> |
Subject: | Re: compile and dynamic linking in one commandline |
In-Reply-To: | <A3D1526C98B7C1409A687E0943EAC410015762@obelix.askesis.nl> |
References: | <A3D1526C98B7C1409A687E0943EAC410015762 AT obelix DOT askesis DOT nl> |
MIME-Version: | 1.0 |
Joost schrieb: > Hi all, > Is it possible to compile and link a source file with a dll to an > executable in one step? Sure. > At this moment I use 2 steps: > g++ -c -I"../include" -o"../../Objects/Main.o" Main.cpp > g++ -o"../../Target/Main.exe ../../Objects/Main.o > ../../Target/libObject.dll c++ -I"../include" -o"../../Target/Main" Main.cpp -L../../Target -lObject Gerrit -- =^..^= -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |