help-gnu-emacs
[Top][All Lists]
Advanced

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

gcc: unrecognized option '-2.0/'


From: Ooh_Gravy
Subject: gcc: unrecognized option '-2.0/'
Date: Tue, 28 Dec 2010 12:58:16 -0800 (PST)
User-agent: G2/1.0

Hi there,

I've just tried installing Emacs on a fresh install of Ubuntu 10.10
and have run into a problem trying to compile Emacs 23.2.  I initially
had a load of libraries missing so running 'configure' would fail.
Having installed all the libs that were highlighted as missing I am
now falling at the next hurdle.

When running 'make' I'm getting an unrecognized option warning for
gcc.  I'm assuming that an environment variable isn't set up correctly
but need some help identifying what is wrong.  The error and one of
the gcc command lines are pasted below.

Thanks.

sjalloq@sjalloq-VirtualBox:/usr/local/src/emacs-23.2$ make
cd lib-src; make all                            \
          CC='gcc' CFLAGS='-g -O2 -Wdeclaration-after-statement -Wno-pointer-
sign  ' CPPFLAGS='-D_BSD_SOURCE  ' \
          LDFLAGS='-Wl,-znocombreloc  ' MAKE='make'
make[1]: Entering directory `/usr/local/src/emacs-23.2/lib-src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/emacs-23.2/lib-src'
boot=bootstrap-emacs;                         \
        if [ ! -x "src/$boot" ]; then                                     \
            cd src; make all                                    \
              CC='gcc' CFLAGS='-g -O2 -Wdeclaration-after-statement -Wno-
pointer-sign  ' CPPFLAGS='-D_BSD_SOURCE  '         \
              LDFLAGS='-Wl,-znocombreloc  ' MAKE='make'
BOOTSTRAPEMACS="$boot"; \
        fi;
make[1]: Entering directory `/usr/local/src/emacs-23.2/src'
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/usr/local/src/
emacs-23.2/src -D_BSD_SOURCE -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/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-1
-2.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 -I/
usr/include/freetype2     -g -O2 -Wdeclaration-after-statement -Wno-
pointer-sign   -MMD -MF deps/emacs.d emacs.c
gcc: unrecognized option '-2.0/'


reply via email to

[Prev in Thread] Current Thread [Next in Thread]