delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/07/08:35:33.1

From: arlindo AT niteroi DOT gsfc DOT nasa DOT gov (Arlindo da Silva)
Subject: Re: Compiling X11R6.3 with your B19 patches...
7 Mar 1998 08:35:33 -0800 :
Message-ID: <199803051220.HAA05037.cygnus.gnu-win32@woodmore.gsfc.nasa.gov>
References: <01BD4824 DOT A965B740 AT gater DOT krystalbank DOT msk DOT ru>
Mime-Version: 1.0
To: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Cc: arlindo AT niteroi DOT gsfc DOT nasa DOT gov, gnu-win32 AT cygnus DOT com

Sergey,

> 
> I modified setup instructions - make a symlink from gcc.exe to cc.
>

Hmm, I thought that symlinks didn't work for executables... Originally
I did a hard copy (cp gcc.exe cc.exe); since this file is only 26K,
this is not a big deal.
 
> >
> > My quick and dirty fix was to copy gcc.exe to cc.exe. I had the same
> > problem with your previous b18 patch. A better fix would be to
> > patch the Makefile which has "cc" hardwired.
> 
> I don't want to patch makefiles - with my patch installed X11 distribution 
> may be compiled on any platform!
> 

Good point.

> 
> What cd fails? Unfortunately, I have no "loop" problem... Probably, the 
> problem is because of missed "cc"? Would you like to try to rebuild X11 
> from the scratch with cc linked to gcc?

No, I now have "cc" in my path. I'll look into it.

> 
> It's a bug of b19 gcc (egcs works fine). The workaround:
> 1. cd to xc/programs/xterm and edit Makefile - change -O2 to -O (two 
> occurences).
> 2. run make.
> 

This worked, everything now compiles to completion, but when linking termcap
is not found; omiting it fails with undefined reference to tgetent. Do I need
to build termcap? Which distribution do you recommend?

  Thank you.

-- 
Arlindo da Silva    
dasilva AT alum DOT mit DOT edu


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019