all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gcc: unrecognized option '-2.0/'
@ 2010-12-28 20:58 Ooh_Gravy
  2010-12-28 21:24 ` Sven Joachim
  2010-12-29 22:36 ` Peter Dyballa
  0 siblings, 2 replies; 4+ messages in thread
From: Ooh_Gravy @ 2010-12-28 20:58 UTC (permalink / raw
  To: help-gnu-emacs

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/'


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-30  9:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-28 20:58 gcc: unrecognized option '-2.0/' Ooh_Gravy
2010-12-28 21:24 ` Sven Joachim
2010-12-30  9:09   ` Ooh_Gravy
2010-12-29 22:36 ` Peter Dyballa

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.