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


Alexander,

> So this seems to be normal. For cygwin, there is
> #ifdef __CYGWIN__
> #define MacroIncludeFile <cygwin.cf>
> #define MacroFile cygwin.cf
> #define cygwinArchitecture
> #define i386Architecture
> #undef i386
> #undef __i386__
> #undef _X86_
> #undef __CYGWIN__
> #endif /* CYGWIN */
>
> We just have to add #undef i686, #undef i486, #undef i586 here

Excellent.  I have applied just such a fix.

Thank you for tracking this down.

Now, regarding the imakemdep_cpp.h that I sent you, have you seen warnings
similar to the ones I'm getting below?  The reason I asked if your
imakemdep_cpp.h was similar was because I wanted to know if it has those
``#1 "imakedep_cpp.h"'' lines like mine does.

Harold


make[5]: Entering directory
`/home/harold/x-devel/build/newhostdef/config/util'
rm -f rman.o
gcc -c -I../.. -I../../exports/include     -DVOLLIST='"1:2:3:4:5:6:7:8:9:o:l
:n:p"' -DMANTITLEPRINTF='"%s(%s) manual
page"' -DMANREFPRINTF='"%s.%s.html"' -DPOLYGLOTMANVERSION='"3.0.8+XFree86"' 
-DXFree86 rman.c
rm -f rman
gcc -I../../exports/include -o rman  rman.o
make[5]: Leaving directory
`/home/harold/x-devel/build/newhostdef/config/util'
okay, continuing in config/makedepend
rm -f makedepend.1.html makedepend.1-html
../../config/util/rman -f HTML < mkdepend._man \
> makedepend.1-html && mv -f makedepend.1-html makedepend.1.html
macro "UC" not recognized -- ignoring
make[4]: Leaving directory
`/home/harold/x-devel/build/newhostdef/config/makedepend'
okay, continuing in config/imake
../../config/makedepend/makedepend  -- -I../../include -I../../exports/inclu
de/X11  -I../.. -I../../exports/include   -D__i386__ -DWIN32_LEAN_AND_MEAN -
DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_
BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DNO_ALLOCA  -DFUNCPROTO=15 -DNARROW
PROTO     -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` 	 -DCROSSCOMPILE -DCROSSCOMPILEDIR=\"/cygwin/bin\"  -DUSE_MAKEDEPEND --
imake.c
../../config/makedepend/makedepend: warning:  imake.c (reading
imakemdep_cpp.h), line 1: unknown directive == "# 1 "imakemdep.h""
../../config/makedepend/makedepend: warning:  imake.c (reading
imakemdep_cpp.h), line 37: unknown directive == "# 191 "imakemdep.h""
../../config/makedepend/makedepend: warning:  imake.c (reading
imakemdep_cpp.h), line 187: unknown directive == "# 398 "imakemdep.h""
../../config/makedepend/makedepend: warning:  imake.c (reading
imakemdep_cpp.h), line 222: unknown directive == "# 446 "imakemdep.h""
../../config/makedepend/makedepend: warning:  imake.c (reading
imakemdep_cpp.h), line 235: unknown directive == "# 466 "imakemdep.h""
../../config/makedepend/makedepend: warning:  imake.c (reading
imakemdep_cpp.h), line 246: unknown directive == "# 500 "imakemdep.h""
../../config/makedepend/makedepend: warning:  imake.c (reading
imakemdep_cpp.h), line 258: unknown directive == "# 547 "imakemdep.h""
../../config/makedepend/makedepend: warning:  imake.c (reading
imakemdep_cpp.h), line 260: unknown directive == "# 568 "imakemdep.h""
../../config/makedepend/makedepend: warning:  imake.c (reading
imakemdep_cpp.h), line 287: unknown directive == "# 610 "imakemdep.h""
../../config/makedepend/makedepend: warning:  imake.c (reading
imakemdep_cpp.h), line 298: unknown directive == "# 644 "imakemdep.h""
../../config/makedepend/makedepend: warning:  imake.c (reading
imakemdep_cpp.h), line 311: unknown directive == "# 667 "imakemdep.h""
../../config/makedepend/makedepend: warning:  imake.c (reading
imakemdep_cpp.h), line 318: unknown directive == "# 688 "imakemdep.h""
../../config/makedepend/makedepend: warning:  imake.c (reading
imakemdep_cpp.h), line 321: unknown directive == "# 699 "imakemdep.h""
../../config/makedepend/makedepend: warning:  imake.c (reading
imakemdep_cpp.h), line 344: unknown directive == "# 869 "imakemdep.h""
../../config/makedepend/makedepend: warning:  imake.c (reading
imakemdep_cpp.h), line 420: unknown directive == "# 1282 "imakemdep.h""
../../config/makedepend/makedepend: warning:  imake.c (reading
imakemdep_cpp.h), line 470: unknown directive == "# 1341 "imakemdep.h""
make[3]: Leaving directory
`/home/harold/x-devel/build/newhostdef/config/imake'
depending in config/makedepend...
make[3]: Entering directory
`/home/harold/x-devel/build/newhostdef/config/makedepend'


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