🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #38410

Re: How set xmkmf's Makefile's MAKE & CC?

#38410
From: Shing-Fat (Fred) Ma
Date: Thu, 06 Dec 2001 20:17
67 lines
3178 bytes
I'm using solaris8.  The reason why I'm looking at the build script is because
there are many errors, and some syntax errors related to invalid switches.
It turns out they are only valid for the gnu versions of those programs.

Thanks.  I'll give it a go.

Fred

--------------------------------------------------------------------------
Fred Ma
Department of Electronics
Carleton University, Mackenzie Building
1125 Colonel By Drive
Ottawa, Ontario
Canada     K1S 5B6
fma@doe.carleton.ca
==========================================================================

Nhi Vanye wrote:

> $ from I.H.Gregory@herts.ac.uk -#133945 | sed "1,$s/^/> /"
> >
> >
> >In article <3C0EC437.2A63D712@doe.carleton.ca>, Shing-Fat (Fred) Ma wrote:
> >
> >>I'm having difficulties building an application (tightVNC).  It is because
> >>when I type xmkmf, it creates a bunch of Makefiles with CC and MAKE
> >>pointing to nonGnu executables.  What what I've been able to ferrit out,
> >>those paths are hardwired into the xmkmf executale when it is built.
> >>Not being a superuser, I can't go to the locations pointed to by CC and
> >>MAKE and create soft links to the gnu counterparts.   Manually changing
> >>the Makefile's don't seem to work because they always get changed back.
> >>
> >>Is there a way to get xmkmf to create Makefile's with CC and MAKE
> >>pointing at the gnu versions?
> >
> >What platform? On Solaris you just edit
> >
> >/usr/openwin/lib/X11/config/site.def
> >
> >Uncomment the following bit:
> >
> >#ifndef HasGcc2
> >#define HasGcc2 YES
> >#endif
>
> He said he wasn't root so he couldn't do that.
>
> You run xmkmf as normal, then override the variables on the make cmd line.
>
> ie.
>
>  % xmkmf
>  % make CC=/usr/gnu/bin/gcc CXX=/usr/gnu/bin/gcc
>
> If you want to autonmate that, put it in a script.
>
> Why don't you use the system compiler ?
>
> >Ian Gregory
>
> richard.
>
> --
> Richard Offer                         Technical Lead, Trust Technology.
> "Specialization is for insects"
> __________________________________________http://reality.sgi.com/offer/
Technical Details
Message-ID: <3C0FD23A.84ECD3DF@doe.carleton.ca>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sunqbc.risq.qc.ca!torn!cunews!not-for-mail
References: <3C0EC437.2A63D712@doe.carleton.ca> <9unngu$c2j$2@helios.herts.ac.uk> <9uo6u6$dugdl$1@fido.engr.sgi.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103734,8b4f2fe7d3a45eb2
X-Google-Attributes: gid103734,public
X-Google-Thread: 109f73,8b4f2fe7d3a45eb2
X-Google-Attributes: gid109f73,public
X-Google-ArrivalTime: 2001-12-06 12:20:06 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sunqbc.risq.qc.ca!torn!cunews!not-for-mail
From: "Shing-Fat (Fred) Ma" <fma@doe.carleton.ca>
Newsgroups: comp.windows.x,gnu.utils.help
Subject: Re: How set xmkmf's Makefile's MAKE & CC?
Date: 6 Dec 2001 20:17:01 GMT
Organization: Dept. of Electronics, Carleton University
Lines: 68
Message-ID: <3C0FD23A.84ECD3DF@doe.carleton.ca>
References: <3C0EC437.2A63D712@doe.carleton.ca> <9unngu$c2j$2@helios.herts.ac.uk> <9uo6u6$dugdl$1@fido.engr.sgi.com>
NNTP-Posting-Host: mali.doe.carleton.ca
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.77 [en] (X11; U; SunOS 5.8 sun4u)
X-Accept-Language: en