This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libgcc_s_sjlj-1 and libstdc++-6 dependency...


You are probably looking for:

-static-libgcc
-static-libstdc++

Cheers,
David

2015-02-04 18:06 GMT+00:00 Umesh Kalappa <umesh.kalappa0@gmail.com>:
> Hi All,
>
> Was configured and build gcc 4.8.3 for windows on linux using mingw .
>
> configure options as
>
> ../../src45x/gcc/configure --build=i686-pc-linux-gnu --host=i686-w64-mingw32
> --with-dwarf2 --with-newlib --with-gnu-as --with-gnu-ld
> --enable-cxx-flags=-mno-smart-io --enable-lto --enable-fixed-point
> --enable-gofast --enable-languages=c,c++ --enable-sgxx-sde-multilibs
> --enable-sjlj-exceptions --enable-obsolete --disable-hosted-libstdcxx
> --disable-libstdcxx-pch --disable-libssp --disable-libmudflap
> --disable-libffi --disable-libfortran --disable-bootstrap
> --disable-shared --disable-__cxa_atexit --disable-nls
> --disable-libgomp --disable-threads --disable-sim
> --disable-decimal-float --disable-libquadmath --without-headers
> XGCC_FLAGS_FOR_TARGET=-frtti -fexceptions -fno-enforce-eh-specs
>
> When we try to run the binary on windows  it says that
>
>
> libstdc++-6.dll   and libgcc_s_sjlj-1  not found
>
>
> currently we copied the those dll's  to the binary folder and things
> works fine .
>
> But we need to get rid of those dll dependency,So any  inputs/comments
> on this issue will highly appreciated ?
>
> Thank you
> ~Umesh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]