From: <dan...@ya...> - 2001-04-27 01:13:26
|
--- "Chattopadhyay,B,Biswapesh C" <bis...@bt...> wrote: > g++ -c "E:\C++\wx2main.cpp" "E:\C++\wx2frame.cpp" -s -mwindows --pipe > -fvtable-thunks -D_X86_=1 -DWIN32 -D_WIN32 -DWINVER=0x0400 -D__WIN95__ > -D__GNUWIN32__ -D__WIN32__ -DSTRICT -D__WXMSW__ -D__WINDOWS__ -Wall > -fno-pcc-struct-return -O4 -fno-rtti -fno-exceptions -DWXUSINGDLL=1 -Os > -fno-exceptions -fno-rtti -IE:/Gcc/Include -I. -IE:/Gcc/Include > -IE:/Gcc/include/G__-3~1 -I. -L./ -BE:/Gcc/bin/ ^^^^^^^^^^^^^ > > cpp.exe: -lang-c++: linker input file unused since linking not done > cpp.exe: -lang-c++: linker input file unused since linking not done > > The funny thing is the warning goes away if I compile the two files > seperately. > Do you have a cpp.exe in E:/gcc/bin? Is it the "right" one (ie the one that normally lives in the compiler director with cc1.exe, cc1plus.exe,etc. not the one that lives next door to c++.exe)? In gcc-2.95.3, this confusion is eliminated since the one that lives in the gcc-lib tree, and is invoked by gcc.exe, is named cpp0.exe. Danny _____________________________________________________________________________ http://store.yahoo.com.au - Yahoo! Store - It's time you had your business online! |