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: Cross Compiling


On Mon, 8 Jul 2002 15:01:54 +0200 (CEST), Alexander Gottwald
<alexander.gottwald@informatik.tu-chemnitz.de> wrote:

RE...

>On Mon, 8 Jul 2002, Nicholas Wourms wrote:
>
>> 
>> I did a little research and indeed it is those damn SuSE people who broke
>> the cross compiling system!  Take a look at:
>> http://www.xfree86.org/~keithp/xconf2001/cc-imake.pdf 
>
>Interesting article. I'll check what is needed to get current CVS cross-
>compile in that build environment.
> 
>> and see if that doesn't seem like it fits the current case.  Note their
>> desire to modify the imake source file instead of cross.def.  This might
>> explain why the build fails when it tries to compile imake.
>
>I made the following changes to build imake (the diff I'll send Thursday
>will show this in complete)
>
>- set BOOTSTRAPCFLAGS to "-Ulinux -D__CYGWIN__"
>- pass IMAKE_DEFINES="-Ulinux -D__CYGWIN__"  to imake 
>
>also there are a lot of changes need where some programs are build as
>ProgramTarget but should be HostProgramTarget and another big problem 
>in cygwin.rules where all: tries to build $(addsuffix .exe,PROGRAMS) 
>instead of $(PROGRAMS). This results in "No rule to make target 
>bitmap.exe.exe" and so on.

I dunno if it's any use to you chaps or not. Extract from native cygwin
build on recent CVS xc (approx 2 or 3 days old)...

make[4]: *** No rule to make target `lndir.exe.o', needed by
`lndir.exe'.
make[4]: *** No rule to make target `lndir.exe.man', needed by
`lndir.exe._man'.
make[4]: *** No rule to make target `rman.exe.exe', needed by `all'.
make[4]: *** No rule to make target `makestrs.exe.exe', needed by `all'.
make[4]: *** No rule to make target `revpath.exe.exe', needed by `all'.
make[4]: *** No rule to make target `bitmap.exe.exe', needed by `all'.
make[4]: *** No rule to make target `bmtoa.exe.exe', needed by `all'.
make[4]: *** No rule to make target `atobm.exe.exe', needed by `all'.
make[4]: *** No rule to make target `proxymngr.exe.exe', needed by
`all'.
make[4]: *** No rule to make target `xclipboard.exe.exe', needed by
`all'.
make[4]: *** No rule to make target `xcutsel.exe.exe', needed by `all'.
make[4]: *** No rule to make target `xdm.exe.exe', needed by `all'.
make[4]: *** No rule to make target `xdmshell.exe.exe', needed by `all'.
make[4]: *** No rule to make target `sessreg.exe.exe', needed by `all'.
make[4]: *** No rule to make target `chooser.exe.exe', needed by `all'.
make[4]: *** No rule to make target `xfindproxy.exe.exe', needed by
`all'.
make[4]: *** No rule to make target `xinit.exe.exe', needed by `all'.
make[4]: *** No rule to make target `xsm.exe.exe', needed by `all'.

I've not built XFree before so can't determine the root cause.
Nevertheless, for the most part (bit different for lndir makefile) it
appears that the assignment to "PROGRAMS" already has '.exe' appended
then "PROGS_EXE" does it again.


-- 
swamp-dog@ntlworld.com


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