Building X
Philip Prindeville
philipp_subx at redfish-solutions.com
Mon Sep 19 09:26:40 PDT 2005
Try adding:
#define DefaultGcc2i386Opt -O2
to your xc/config/cf/host.def file. How did you generate your
host.def file, anyway?
-Philip
Russell Shaw wrote:
> Hi,
> I read the build instructions, but it won't build (from cvs):
> (debian-sid on a pc)
>
>
> make World
>
>
> Building Release 6.8.
>
> I hope you checked the configuration parameters in ./config/cf
> to see if you need to pass BOOTSTRAPCFLAGS.
>
> Sun Sep 18 21:22:24 EST 2005
>
> cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" CC="gcc"
> clean
> make[1]: Entering directory `/home/russell/SRC/xc-build/config/imake'
> rm -f ccimake imake.o imake
> rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS
> make.log \#*
> rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
> rm -f imakemdep_cpp.h
> make[1]: Leaving directory `/home/russell/SRC/xc-build/config/imake'
> make Makefile.boot
> make[1]: Entering directory `/home/russell/SRC/xc-build'
> cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="gcc"
> make[2]: Entering directory `/home/russell/SRC/xc-build/config/imake'
> making imake with BOOTSTRAPCFLAGS= and
> CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="" in config/imake
> gcc -o ccimake -DCROSSCOMPILEDIR=\"\" -O -I../../include
> -I../../imports/x11/include/X11 ccimake.c
> if [ -n "" ] ; then \
> /cc -E `./ccimake` \
> -DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; \
> else touch imakemdep_cpp.h; fi
> gcc -c -O -I../../include -I../../imports/x11/include/X11 `./ccimake`
> imake.c
> gcc -o imake -O -I../../include -I../../imports/x11/include/X11 imake.o
> make[2]: Leaving directory `/home/russell/SRC/xc-build/config/imake'
> rm -f ./config/makedepend/Makefile.proto
> ./config/imake/imake -I./config/cf -s
> ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile
> -DTOPDIR=../.. -DCURDIR=./config/makedepend
> cd ./config/makedepend && rm -f -r Makefile Makefile.dep makedepend
> *.o bootstrap
> cd ./config/makedepend && make -f Makefile.proto bootstrap
> make[2]: Entering directory
> `/home/russell/SRC/xc-build/config/makedepend'
> make[2]: Nothing to be done for `bootstrap'.
> make[2]: Leaving directory `/home/russell/SRC/xc-build/config/makedepend'
> ./config/imake/imake -I./config/cf -s ./config/imake/Makefile.proto
> -f ./config/imake/Imakefile -DTOPDIR=../.. -DCURDIR=./config/imake
> -DBootStrap
> cd ./config/imake && make -f Makefile.proto bootstrapdepend
> make[2]: Entering directory `/home/russell/SRC/xc-build/config/imake'
> make[2]: Nothing to be done for `bootstrapdepend'.
> make[2]: Leaving directory `/home/russell/SRC/xc-build/config/imake'
> cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS=""
> CC="gcc" bootstrap
> make[2]: Entering directory `/home/russell/SRC/xc-build/config/imake'
> + mkdir bootstrap
> mv *.o bootstrap
> + mv imake bootstrap
> make[2]: Leaving directory `/home/russell/SRC/xc-build/config/imake'
> cd ./config/imake && make -f Makefile.proto imakeonly
> make[2]: Entering directory `/home/russell/SRC/xc-build/config/imake'
> gcc DefaultGcc2i386Opt -I../../include -I../../exports/include/X11
> -I../.. -I../../exports/include -Dlinux -D__i386__
> -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE
> -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
> -DFUNCPROTO=15 -DNARROWPROTO -DCPP_PROGRAM="\"cpp\""
> -DHAS_MERGE_CONSTANTS=`if gcc -fmerge-constants -xc /dev/null -S -o
> /dev/null 2> /dev/null 1> /dev/null; then echo 1; else echo 0;
> fi` -c -o imake.o imake.c
> gcc: DefaultGcc2i386Opt: No such file or directory
> make[2]: *** [imake.o] Error 1
> make[2]: Leaving directory `/home/russell/SRC/xc-build/config/imake'
> make[1]: *** [imake.bootstrap] Error 2
> make[1]: Leaving directory `/home/russell/SRC/xc-build'
> make: *** [World] Error 2
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
More information about the xorg
mailing list