why does gcc-windows count cygwin?


i'm c++ developer, nonetheless i've always prying compilers, i'm prying tinkering gcc things (particularly llvm).



on windows, gcc requires posix-emulation covering (cygwin mingw) run correctly.



why that?



i lots software, combined c++ cross-compiled opposite platforms (subversion, firefox, apache, mysql), zero need cygwin mingw.



my bargain c++ best-practice programming graceful platform-neutral formula understanding differences during gathering process.



so what's understanding gcc? since can't run natively windows?






edit:



okay, twin replies distant say, basically, "gcc uses posix covering since uses posix headers".



but doesn't unequivocally answer question.



let's contend i already have set headers favorite customary library. since i still need posix headers?



does gcc need cygwin/mingw indeed run?



or does wholly need simulation covering headers libraries? so, since can't i only give "lib" office mandatory resources?






edit again:



okay, i'll try again explain question...



i also formula . executive compiler named "dmd" there executive compiler binaries both windows linux.



the windows chronicle doesn't need any kind posix emulation. linux chronicle doesn't need any kind win32 emulation. compiler assumptions the environment, hides those assumptions graceful well.



of course, i have tell compiler where customary library where libraries statically boldly couple against.



gcc, contrast, insists feigned it's handling within posix environment, asks me amusement those assumptions sourroundings adult an simulation layer.



but what, exactly, within gcc relies layer? only looking stdlib headers, assumes it'll those headers within "/usr/lib"?



if that's case, shouldn't i only means tell feeling "c:/gcc/lib" those header files?



or does gcc itself rest posix libraries opening record component (and low-level stuff)? that's case, following i awe since don't only statically couple favorite windows posix libraries. since need user set adult dependencies, build those dependencies right application?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?