This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
linking in cygwin on Win 7 x64
- From: hardya <andrew_hardy at hardysoft dot co dot uk>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 28 Feb 2012 14:59:41 -0800 (PST)
- Subject: linking in cygwin on Win 7 x64
I am running a makefile for a simulation software called omnet++. I have
Win7 x64 but the build runs from within (I think) cygwin, i.e. I run an
appl' called mingwenv.cmd which I believe is essentially cygwin.
I understand the build is supposed to support Win 7 x64 and has been tested
on such. However in my case I can build with exact same content and actions
on XP successfully, but on my win7 x64, the final link is reported as
successful, but only builds a very small file.
g++ -shared -o ../out/gcc-debug/src/libinet.dll -Wl,--no-as-needed
.tmplib10468 -L"c:/omnetpp-4.2.1/lib/gcc" -L"c:/omnetpp-4.2.1/lib"
-loppenvird -loppsimd -lwsock32 -lstdc++ -Wl,--enable-auto-import
-shared-libgcc -L/usr/bin -L/usr/lib -Wl,-rpath,c:/omnetpp-4.2.1/lib
-Wl,-rpath,.
.tmplib10468 is around 64,000KB, but the resultant libinet.dll is only 42KB
and when used there is an indication that many classes are not registered.
I realise this is not the place for omnet++ support. Howver, I am hoping
there is some common g++ knowledge which I do not have which may at least
point me in the right direction.
Many thanks in anticipation.
Andrew
--
View this message in context: http://old.nabble.com/linking-in-cygwin-on-Win-7-x64-tp33410391p33410391.html
Sent from the gcc - Help mailing list archive at Nabble.com.