Article View: comp.windows.x
Article #38412Re: How set xmkmf's Makefile's MAKE & CC?
From: Nhi Vanye
Date: Fri, 07 Dec 2001 01:47
Date: Fri, 07 Dec 2001 01:47
32 lines
2471 bytes
2471 bytes
$ from fma@doe.carleton.ca -#133950 | sed "1,$s/^/> /" > > >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. The "right" thing to do is to clean the code up so that it builds with the Solaris compilers, then send the diff back to the author of the application. It takes your time, but it improves the application (and you get to learn the differences betwenn gcc and the system compiler which means you're less likely to hit the same issues with code you write). People that put compiler specific flags in Imakefiles/Makefile.am should to be educated about portablilty, if all you have is one OS/tool set available you're not always aware of the implications. Hiding the problem by using gcc doesn't help anyone else who will try to do the same thing in 3months time, they'll have to try and debug this problem just as you have. But I realize that there's not always the time to do the right thing... > >Thanks. I'll give it a go. > >Fred richard. -- Richard Offer Technical Lead, Trust Technology. "Specialization is for insects" __________________________________________http://reality.sgi.com/offer/
Technical Details
Message-ID:
<9up74c$e2v3a$1@fido.engr.sgi.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!enews.sgi.com!fido.engr.sgi.com!not-for-mailReferences:
<3C0EC437.2A63D712@doe.carleton.ca> <9unngu$c2j$2@helios.herts.ac.uk> <9uo6u6$dugdl$1@fido.engr.sgi.com> <3C0FD23A.84ECD3DF@doe.carleton.ca>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 17:47:56 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!enews.sgi.com!fido.engr.sgi.com!not-for-mail From: offer@sgi.com (Nhi Vanye) Newsgroups: comp.windows.x,gnu.utils.help Subject: Re: How set xmkmf's Makefile's MAKE & CC? Date: 7 Dec 2001 01:47:56 GMT Organization: Silicon Graphics Inc., Mountain View, CA Lines: 33 Message-ID: <9up74c$e2v3a$1@fido.engr.sgi.com> References: <3C0EC437.2A63D712@doe.carleton.ca> <9unngu$c2j$2@helios.herts.ac.uk> <9uo6u6$dugdl$1@fido.engr.sgi.com> <3C0FD23A.84ECD3DF@doe.carleton.ca> NNTP-Posting-Host: morgaine.engr.sgi.com X-Trace: fido.engr.sgi.com 1007689676 14777450 163.154.6.121 (7 Dec 2001 01:47:56 GMT) X-Complaints-To: news@fido.engr.sgi.com NNTP-Posting-Date: 7 Dec 2001 01:47:56 GMT X-Newsreader: trn 4.0-test61 (25 January 1997)