public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Does current gcc have segment compression option?
@ 2022-11-16  3:51 Wu yanan
  2022-11-17  9:55 ` Stefan Ring
  0 siblings, 1 reply; 3+ messages in thread
From: Wu yanan @ 2022-11-16  3:51 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 559 bytes --]

When i find information about reduce execution size, i found that in
compilers like tiarmclang(
https://software-dl.ti.com/codegen/docs/tiarmclang/rel1_3_0_LTS/compiler_manual/linker_description/08_using_linker_generated_copy_tables/compression-stdz0754720.html)
and IAR,there are options provided to compress segments of
execution(data,text..etc). usually i use gcc and clang compiler, are there
similar options  to compress the  segments of execution? I only found
compress options for debug information in clang compiler.
thx
A curious man:cora

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Does current gcc have segment compression option?
  2022-11-16  3:51 Does current gcc have segment compression option? Wu yanan
@ 2022-11-17  9:55 ` Stefan Ring
  2022-11-17 10:20   ` Wu yanan
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Ring @ 2022-11-17  9:55 UTC (permalink / raw)
  To: gcc-help

On Wed, Nov 16, 2022 at 4:52 AM Wu yanan via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
>
> When i find information about reduce execution size, i found that in
> compilers like tiarmclang(
> https://software-dl.ti.com/codegen/docs/tiarmclang/rel1_3_0_LTS/compiler_manual/linker_description/08_using_linker_generated_copy_tables/compression-stdz0754720.html)
> and IAR,there are options provided to compress segments of
> execution(data,text..etc). usually i use gcc and clang compiler, are there
> similar options  to compress the  segments of execution? I only found
> compress options for debug information in clang compiler.

This looks like a feature by the linker and loader runtime and
probably doesn’t have anything to do with the compiler.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Does current gcc have segment compression option?
  2022-11-17  9:55 ` Stefan Ring
@ 2022-11-17 10:20   ` Wu yanan
  0 siblings, 0 replies; 3+ messages in thread
From: Wu yanan @ 2022-11-17 10:20 UTC (permalink / raw)
  To: Stefan Ring; +Cc: gcc-help

[-- Attachment #1: Type: text/plain, Size: 984 bytes --]

Does there have options to use the  linker or loader runtime to compress  the
segments?

On Thu, Nov 17, 2022 at 5:56 PM Stefan Ring via Gcc-help <
gcc-help@gcc.gnu.org> wrote:

> On Wed, Nov 16, 2022 at 4:52 AM Wu yanan via Gcc-help
> <gcc-help@gcc.gnu.org> wrote:
> >
> > When i find information about reduce execution size, i found that in
> > compilers like tiarmclang(
> >
> https://software-dl.ti.com/codegen/docs/tiarmclang/rel1_3_0_LTS/compiler_manual/linker_description/08_using_linker_generated_copy_tables/compression-stdz0754720.html
> )
> > and IAR,there are options provided to compress segments of
> > execution(data,text..etc). usually i use gcc and clang compiler, are
> there
> > similar options  to compress the  segments of execution? I only found
> > compress options for debug information in clang compiler.
>
> This looks like a feature by the linker and loader runtime and
> probably doesn’t have anything to do with the compiler.
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-17 10:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-16  3:51 Does current gcc have segment compression option? Wu yanan
2022-11-17  9:55 ` Stefan Ring
2022-11-17 10:20   ` Wu yanan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).