linking in cygwin on Win 7 x64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux