How to use an older version of gcc in Linux

前端 未结 4 1230
太阳男子
太阳男子 2020-12-20 13:39

In Linux I am trying to compile something that uses the -fwritable-strings option. Apparently this is a gcc option that doesn\'t work in newer version of gcc. I installed gc

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-20 14:13

    Maybe you could just give the whole path of the gcc-3.4 install while compiling your program: /path_to_gcc_3.4/gcc your_program

提交回复
热议问题