This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using the new cross compilation system - and a request for help


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
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de
 http://www.gotti.org           ICQ: 126018723


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]