系统相关
首页 > 系统相关> > linux – 如何使用autotools获得漂亮的打印效果

linux – 如何使用autotools获得漂亮的打印效果

作者:互联网

有没有办法用autotools(automake)来改变这条大线

gcc -DHAVE_CONFIG_H -I. -I. -I. -pthread -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2   -DHAVE_SVGZ=1 -I/usr/include/libcroco-0.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2   -DHAVE_LIBCROCO=1 -pthread -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -DG_LOG_DOMAIN=\"librsvg\" -DLIBRSVG_DATADIR="\"/usr/local/share\""    -g -O2 -MT rsvg-shapes.lo -MD -MP -MF .deps/rsvg-shapes.Tpo -c -o rsvg-shapes.lo rsvg-shapes.c

进入这个

compiling rsvg-shapes.c

请注意,使用librsvg文件只是一个例子.

我看过this question,但是对于Makefile编写者来说,有没有Makefile.am编写器的解决方案

解决方法:

是的,请执行以下操作之一:

>将silent-rules选项添加为AM_INIT_AUTOMAKE的参数
>从configure.ac文件中调用AM_SILENT_RULES宏

如果已完成此操作,您可以通过–enable-silent-rules进行配置,或者在make时传递V = 0以使构建静默.

有关更多信息,请参见Automake Silent Rules in the Automake Manual

标签:linux,gcc,compilation,makefile,autotools
来源: https://codeday.me/bug/20190530/1186370.html