Date: Wed, 22 Jun 2005 00:05:20 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 566 ************************************************** Tuesday 21 June 2005 Number 566 ************************************************** Subjects for today 1 gcc -b, what does it do? : Dave Yeo" **= Email 1 ==========================** Date: Mon, 20 Jun 2005 21:36:14 -0800 From: "Dave Yeo" Subject: gcc -b, what does it do? While compiling gtk1.2.10 with gcc3.3.5 I got this error gcc -g -O2 -Wall -o testgtk testgtk.o .libs/gtk.a -L/usr/X11R6/lib -lgmodule -lglib -lXext -lX11 -lsocket -lm ../gdk/.libs/gdk.a -lgmodule -lglib -lXext -lX11 -lsocket -lm -L/usr/X11R6/lib -lXext -lX11 -lsocket -L/usr/X11R6/lib -bexpall -lgmodule -lglib -lm gcc: `-b' must come at the start of the command line Has anyone seen this before? Looking at the GCC 3.3.5 manual -b is used to specify the target machine when cross-compiling. Obviously it must of had a different meaning at one time but I have no manual for 2.8.1 or previous Dave