delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/10/02:20:40

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
Subject: compile and dynamic linking in one commandline
MIME-Version: 1.0
Date: Fri, 10 Oct 2003 08:20:26 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Message-ID: <A3D1526C98B7C1409A687E0943EAC410015762@obelix.askesis.nl>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
From: "Joost Kraaijeveld" <J DOT Kraaijeveld AT Askesis DOT nl>
To: "Cygwin (E-mail)" <cygwin AT cygwin DOT com>

------=_NextPart_000_01E7_01C38F07.5B553640
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi all,

Is it possible to compile and link a source file with a dll to an
executable in one step? 

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


Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
email: J DOT Kraaijeveld AT Askesis DOT nl
web: www.askesis.nl 


 

------=_NextPart_000_01E7_01C38F07.5B553640
Content-Type: application/x-pkcs7-signature;
	name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFyjCCAoow
ggHzoAMCAQICAwmcrjANBgkqhkiG9w0B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VBAMTH1BlcnNvbmFsIEZyZWVtYWlsIFJTQSAyMDAwLjguMzACAwmcrjAJBgUrDgMC
GgUAoIIBZTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wMzEwMTAw
NjIwMjVaMCMGCSqGSIb3DQEJBDEWBBTKjwH3fFT6ZLg89auw4fLv8dHbJDBYBgkqhkiG9w0BCQ8x
SzBJMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDAH
BgUrDgMCGjAKBggqhkiG9w0CBTCBqwYJKwYBBAGCNxAEMYGdMIGaMIGSMQswCQYDVQQGEwJaQTEV
MBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xDzANBgNVBAoTBlRoYXd0
ZTEdMBsGA1UECxMUQ2VydGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZyZWVt
YWlsIFJTQSAyMDAwLjguMzACAwmcrjANBgkqhkiG9w0BAQEFAASBgC9Y5Kagf6zyw7CCHty0BVTT
D+n1t2wAh0C7qu2Po8ux5QNxJuBaEkiIm2rFkReO9KapCoE5ZyN6epx4dMCFZpMOQZ2ozu7/Y0mh
Pkh4oagexwkivBoMlFICFNdms8vg/YgvKtsWyb4lzJCP0jHkf/YgcYL/WUHRHhQh7yxOdHmvAAAA
AAAA

------=_NextPart_000_01E7_01C38F07.5B553640--

- Raw text -


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