Re: static version of libgcc_s.so.1...

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

 



"Venkatakrishnan, V" <v.venkatakrishnan@xxxxxxxxxxxxxxxxx> writes:

> 	I'm running into this issue where an application when ported to a
> target machine NOT having gcc installed, does NOT run and throws the
> following error...
> 
> ld.so.1: MyApp: fatal: libstdc++.so.4: open failed: No such file or
> directory or 
> ld.so.1: MyApp: fatal: libgcc_s.so.4: open failed: No such file or directory
> 
> 	now, I did try to compile it using libstdc++.a to have that library
> statically linked to the application, but similarly I CANNOT find
> libgcc_s.a.  Where can I get this from???

Use -static-libgcc when you link.  The file you want is libgcc.a.

Ian

[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