Use Tcp.h?
Harold Hunt
huntharo@msu.edu
Fri Jul 5 07:22:00 GMT 2002
Nicholas,
> We had this discussion in the past, and yes I *have* read the cygwin-xfree
> contributor's guide and followed your directions WORD-FOR-WORD, except for
> removing the NO_TCP_H and defining font building.
You could not possibly have followed the Contributor's Guide (CG)
instructions word-for-word because your build log doesn't have a header (see
below), it just jumps right into the clean step. In the CG the build step
says:
make World BOOTSTRAPCFLAGS="-D__CYGWIN__ -Ulinux -DCrossCompiling=1"
IMAKE_DEFINES="-D__CYGWIN__ -Ulinux" > World.log 2>&1
That causes the header information to show up in the build log... are you
running something other than 'make World'?
On a side note, I find it hard enough to remember all the
builds/flags/compilers/etc that I'm using. I don't have any space in my
brain to store state information for other developers. You have to feed me
some details everytime you ask a question, else you can assume that I've
forgotten those details.
> Anyhow, if you recall, you posted a log of your cross-compile awhile back.
> It turns out that in the log, the crosscompiler was never found, so all I
> got was a log full of i686-pc-cygwin-gcc not found messages (not very
> useful).
I remember that I posted a broken build log because I forgot to set my path
before running the build. I thought about posting a new log but I didn't
because no one seemed to complain much.
> My point is that you should revisit your directions, as they do
> not cover how to get X to build fonts when cross-compiling. As it stands,
> X is trying to use the foreign bdfto* and mkfondir utilities. Also, the
> XFree people have broken crosscompiling according to your method in HEAD
> as opposed to the 4.2.0 branch. You might want to investigate this as
> well.
Oh, I know that the XFree86 folks are doing some stupid things with respect
to expecting certain XFree86 utilities to already be installed at build
time. I bitched about this to the devel list at XFree86 and you know what?
I didn't get a single reply. Not even a ``go away, you are annoying''.
Apparently no one else on the project things that you should be able to
bootstrap on a machine that has never had XFree86 installed. Hopefully they
fix this before the next release.
Harold
Example header:
Building Release 6.6 of the X Window System.
I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.
Thu Jul 4 18:23:49 2002
cd ./config/imake && make - --unix -f Makefile.ini BOOTSTRAPCFLAGS=""
CC="gcc" clean
make[1]: Entering directory
`/home/Administrator/x-devel/build/tcph2/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/Administrator/x-devel/build/tcph2/config/imake'
make - --unix Makefile.boot
make[1]: Entering directory `/home/Administrator/x-devel/build/tcph2'
cd ./config/imake && make - --unix -w -f Makefile.ini BOOTSTRAPCFLAGS=""
CC="gcc"
make[2]: Entering directory
`/home/Administrator/x-devel/build/tcph2/config/imake'
making imake with BOOTSTRAPCFLAGS= and
CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="" in config/imake
gcc -o
ccimake -DCROSSCOMPILEDIR=\"\" -O -I../../include -I../../imports/x11/inclu
de/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/Administrator/x-devel/build/tcph2/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/Administrator/x-devel/build/tcph2/config/makedepend'
make[2]: Nothing to be done for `bootstrap'.
make[2]: Leaving directory
`/home/Administrator/x-devel/build/tcph2/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/Administrator/x-devel/build/tcph2/config/imake'
make[2]: Nothing to be done for `bootstrapdepend'.
make[2]: Leaving directory
`/home/Administrator/x-devel/build/tcph2/config/imake'
cd ./config/imake && make - --unix -w -f Makefile.ini BOOTSTRAPCFLAGS=""
CC="gcc" bootstrap
make[2]: Entering directory
`/home/Administrator/x-devel/build/tcph2/config/imake'
+ mkdir bootstrap
mv *.o bootstrap
+ mv imake.exe bootstrap
make[2]: Leaving directory
`/home/Administrator/x-devel/build/tcph2/config/imake'
cd ./config/imake && make -f Makefile.proto all
make[2]: Entering directory
`/home/Administrator/x-devel/build/tcph2/config/imake'
gcc -O2 -fno-strength-reduce -Wall -Wpointer-arith -I../../include -I../..
/exports/include/X11 -I../.. -I../../exports/include -D__i386__ -DWIN32_L
EAN_AND_MEAN -DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOUR
CE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DNO_ALLOCA -DFUNCPRO
TO=15 -DNARROWPROTO -L/lib/automode.o -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
imake.c:828: warning: `parse_utsname' defined but not used
imake.c:901: warning: `trim_version' defined but not used
rm -f imake.exe
gcc -o imake.exe -O2 -fno-strength-reduce -Wall -Wpointer-arith
imake.o -L/usr/X11R6/lib -Wl,--enable-auto-import
rm -f imake._man
cpp -undef -traditional -D__apploaddir__=/usr/X11R6/lib/X11/app-defaults -D
__filemansuffix__=5 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__projec
troot__=/usr/X11R6 -D__xorgversion__='"Release 6.6" "X Version
11"' -D__vendorversion__="Version XFree86VersionString XFree86" <imake.man
| sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^XCOMM$/s//#/' -e
'/^XCOMM[^a-zA-Z0-9_]/s/^XCOMM/#/' >imake._man
make[2]: Leaving directory
`/home/Administrator/x-devel/build/tcph2/config/imake'
make - --unix -w xmakefile
make[2]: Entering directory `/home/Administrator/x-devel/build/tcph2'
rm -f xmakefile
./config/imake/imake -I./config/cf -s xmakefile -DTOPDIR=. -DCURDIR=.
make[2]: Leaving directory `/home/Administrator/x-devel/build/tcph2'
rm -f ./config/imake/Makefile.proto
make[1]: Leaving directory `/home/Administrator/x-devel/build/tcph2'
make -f xmakefile - --unix VerifyOS
make[1]: Entering directory `/home/Administrator/x-devel/build/tcph2'
Building on Cygwin (1.3.12).
More information about the Cygwin-xfree
mailing list