Alexander Gottwald <[EMAIL PROTECTED]> said: > On Thu, 11 Jul 2002, Harold L Hunt wrote: > > > make CROSSCOMPILEDIR="/cygwin/bin" World > World.log 2>&1 > > > > Are you talking about imakemdep_cpp.h being built during the World make, or > > are you doing this during a seperate step? > > It's build during make World. Here's a part from the log > > cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" clean > make[1]: Entering directory `/scratch/xc/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 `/scratch/xc/config/imake' > make Makefile.boot > make[1]: Entering directory `/scratch/xc' > cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" > make[2]: Entering directory `/scratch/xc/config/imake' > making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="/usr/i686-pc-cygwin32/bin" in config/imake > cc -o ccimake -DCROSSCOMPILEDIR=\"/usr/i686-pc-cygwin32/bin\" -O -I../../include -I../../imports/x11/include/X11 ccimake.c > if [ -n "/usr/i686-pc-cygwin32/bin" ] ; then \ > /usr/i686-pc-cygwin32/bin/cc -E `./ccimake` \ > -DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; \ > else touch imakemdep_cpp.h; fi > cc -c -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c > cc -o imake -O -I../../include -I../../imports/x11/include/X11 imake.o > make[2]: Leaving directory `/scratch/xc/config/imake' > > somehow the cygwin-gcc got an extra define "i686", either via commandline, > include header or via predefines. That symbol "i686" is never defined > when I create the imakemdep_cpp.h > > How does the make log look for you? > > bye > ago > -- > [EMAIL PROTECTED] > http://www.gotti.org ICQ: 126018723 >
Alexander, Here is that same section of the ``make World'' log: cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" clean make[1]: Entering directory `/home/harold/x-devel/build/newhostdef/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/harold/x-devel/build/newhostdef/config/imake' make Makefile.boot make[1]: Entering directory `/home/harold/x-devel/build/newhostdef' cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" make[2]: Entering directory `/home/harold/x-devel/build/newhostdef/config/imake' making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="/cygwin/bin" in config/imake cc -o ccimake -DCROSSCOMPILEDIR=\"/cygwin/bin\" -O -I../../include -I../../imports/x11/include/X11 ccimake.c if [ -n "/cygwin/bin" ] ; then \ /cygwin/bin/cc -E `./ccimake` \ -DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; \ else touch imakemdep_cpp.h; fi cc -c -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c cc -o imake -O -I../../include -I../../imports/x11/include/X11 imake.o make[2]: Leaving directory `/home/harold/x-devel/build/newhostdef/config/imake' My imakedep_cpp.h is attached. Does it look like yours? I am guessing that i686 is defined because I'm building on a Pentium III??? Other than that I wouldn't have a clue how it got defined. It must just be something that Mandrake is doing. Harold