Re: PATCH for Re: Release notes for GCC 7?

2017-03-27 Thread carl hansen
suggested additions: get and insert the latest libtool, which includes files: libtool.m4 ltgcc.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4, all way-old currently in gcc-7 get latest autoconf. 2.64 in use, latest is 2.69 get latest texinfo.tex, not one 5 years old GNU is supposed

Re: Support Library Requirements for GCC 7.1

2017-05-02 Thread carl hansen
On Tue, May 2, 2017 at 5:02 PM, Paul Smith wrote: > On Tue, 2017-05-02 at 18:17 -0500, Joel Sherrill wrote: >> With gcc 6.3.0, we have this in our build recipe: >> >> %define mpfr_version 2.4.2 >> %define mpc_version0.8.1 >> %define gmp_version4.3.2 > > Best thing to do is look at the co

Re: Exhaustive Instructions for Toolchain Generation

2017-10-05 Thread carl hansen
toolchain problems? If you really want to learn , try linuxfromscratch.org and http://trac.clfs.org/ Cross linux from scratch You complained about too much documentation, and here's some more.

Re: dead code remover under gcc -O and higher(Is there a flag to do this)

2017-12-03 Thread carl hansen
line 12 , you say "void A( );" say instead: void A(){}; That solved it for me, using gcc7.2 On Sun, Dec 3, 2017 at 4:56 PM, chengjian (D) wrote: > I have written a simple code like this > > ```c > #include > #include > > //#define CONFIG_TARGET_X86_64 > > #ifdef CONFIG_TARGET_X86_64 > static

Re: gdb 8.x - g++ 7.x compatibility

2018-02-02 Thread carl hansen
On Fri, Feb 2, 2018 at 7:17 PM, Roman Popov wrote: > Hello, > I'm trying to switch from g++ 5.4 to g++ 7.2. > GDB 8.0.1 however does not understand RTTI generated by g++7.2, so my > Python scripts for GDB are not working. > > Here is a code example: > > struct base { virtual ~base(){} }; > > te

Re: 【GCC version can not be changed】

2018-05-05 Thread carl hansen
On Sat, May 5, 2018 at 5:13 AM, 夏晗 wrote: > root@Xia-Ubuntu:/usr/bin# gcc -v > 使用内建 specs。 > COLLECT_GCC=gcc > 目标:x86_64-pc-linux-gnu > 配置为:../configure -enable-checking=release -enable-languages=c,c++ > -disable-multilib > 线程模型:posix > gcc 版本 6.2.0 (GCC) > I have tried many methods like 'ln' and

Re: Article suggestion (note for admin)

2023-11-07 Thread carl hansen via Gcc
We have many STDs. stdio stdlib libstdc++ On Tue, Nov 7, 2023 at 7:57 AM Dwayne Jacobs < d.jac...@backgroundchecksmailing.org> wrote: > Hi GCC Team, > > I wanted to follow up once more regarding the latest STD statistics in the > US. > > As I mentioned previously, I believe the data could be a u

Re: Using gcc as a sort of scripting language.

2024-12-28 Thread carl hansen via Gcc
On Sat, Dec 28, 2024 at 2:48 PM Florian Weimer wrote: > [...] > > > Still it would be a nice touch if we could do > > #!/usr/bin/gcc -f > #include > int main() > { > puts("Hello, world"); > return 0; > } > re previously mentioned "root" >>> cat d #include int main(void) { puts("Hello, wo

Re: Using gcc as a sort of scripting language.

2024-12-28 Thread carl hansen via Gcc
>>> cat e #!/bin/sh # # root -l -b < int main(void) { puts("Hello, world, you can ignore all that particle physics if you like."); printf("By the way, log(2025) is %lf\n",log(2025.)); printf("Here I have suppressed the banner\n"); return 0; } DOIT >>> ./e Hello, world, you can ignore al

Re: Using gcc as a sort of scripting language.

2024-12-28 Thread carl hansen via Gcc
Does "root" do what you want? https://root.cern/ https://root.cern/primer/#learn-c-at-the-root-prompt Includes a c++ interpreter (which includes all of C) that interprets C as you go, then at your option, compile a just-interpreted function, dynamically link it, and use the compiled version of that