all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ooh_Gravy <shareef@jalloq.co.uk>
To: help-gnu-emacs@gnu.org
Subject: gcc: unrecognized option '-2.0/'
Date: Tue, 28 Dec 2010 12:58:16 -0800 (PST)	[thread overview]
Message-ID: <70b63f22-79cf-4fc4-8221-6c79d769f5ba@w29g2000vba.googlegroups.com> (raw)

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	other threads:[~2010-12-28 20:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-28 20:58 Ooh_Gravy [this message]
2010-12-28 21:24 ` gcc: unrecognized option '-2.0/' Sven Joachim
2010-12-30  9:09   ` Ooh_Gravy
2010-12-29 22:36 ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=70b63f22-79cf-4fc4-8221-6c79d769f5ba@w29g2000vba.googlegroups.com \
    --to=shareef@jalloq.co.uk \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.