Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Mingw compiler error

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Mingw compiler error
#3403
Posted by: 2004-02-23 18:07:58
I'm using the mingw environment with linux, everything works fine. With windows compiling stops after three lines of text saying:

Compiling source file(s)...
projectname.cpp
g++.exe: cannot specify -o with -c or -S and multiple compilations

what am I doing wrong?
Message2. Re: Mingw compiler error
#3405
Posted by: upCASE 2004-02-25 02:27:10
Hi!
I guess it means that you're trying to compile the source to object code (-c) with a specific output name (-o) and at the same time try to get the preprocessed source (-S). Since the output name for both (-c -S) are the same, you get an error.

upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Message3. Re: Mingw compiler error
#3434
Posted by: 2004-03-01 19:06:01
ok, got it. thanks for the help.
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Thu 2024-10-3  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0