From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 111c93,65ad175b1d2a9009 X-Google-Attributes: gid111c93,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!news.glorb.com!hwmnpeer01.lga!hwmedia!news-server.columbus.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!tornado.rdc-kc.rr.com.POSTED!53ab2750!not-for-mail From: DiskMan Subject: Re: Error msg with Compaq C and -Bstatic User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-Id: Newsgroups: comp.os.linux.alpha References: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Sat, 15 Oct 2005 22:12:56 GMT NNTP-Posting-Host: 65.28.70.117 X-Complaints-To: abuse@rr.com X-Trace: tornado.rdc-kc.rr.com 1129414376 65.28.70.117 (Sat, 15 Oct 2005 17:12:56 CDT) NNTP-Posting-Date: Sat, 15 Oct 2005 17:12:56 CDT Organization: Road Runner High Speed Online http://www.rr.com Xref: g2news1.google.com comp.os.linux.alpha:507 On Sat, 15 Oct 2005 17:15:17 +0100, M�ns Rullg�rd wrote: > " DiskMan" writes: > >> Here's an error I've never seen before using Compaq C + -Bstatic... any >> ideas, tips, hints, or ideas?: >> >> ccc: Error: can't find or exec: >> /usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/lnxccstatic >> >> I've looked high and low for this file and its no where on any of my drives, >> nor is it included in several different versions of Compaq C... Will L G > > The explanation is right there in the man page: > > -Bstring > Specifies a suffix to add to the normal names of any components > specified with the -t option. If string is omitted, the usual com- > ponent names are used. > > In the following example, the -t, -h, and -B options specify that the > lnxcc component to be invoked by the ccc driver is located in > /usr/projects and has the name lnxcc.debugging: > > % ccc -tf -h/usr/projects -B.debugging prog1.c > > Why are you passing -Bstatic in the first place? Well I erroneously thought it would create static binaries.... Which is what I was trying to do, static binaries and static libs... Guess I thought wrong... Thanks for clearing that up for me. I did try the old -static flag and the -Wl,--static but for some reason the build dies on my complaining about how '-static' can't be used with '-shared' when it starts building shared objects [*.so]. The reason I was going through all this was this... I build GTK/GLIB/Pango/ATK using Compaq C for faster speed and the like. Everything built fine but for some reason, a couple of smaller programs balk about missing symbols... The symbols are there, just in a different location [?] than previous build using GCC. So I rebuilt GTK with -fpic hoping that would correct the issue and allow the correct symbols to be found. The error I was getting was the following [xfwm4-4.2.1: during build time]: /usr/lib/libxfcegui4.so: undefined reference to `gdk_spawn_on_screen_with_pipes' /usr/lib/libxfcegui4.so: undefined reference to `gdk_spawn_on_screen' /usr/lib/libxfcegui4.so: undefined reference to `gdk_spawn_command_line_on_screen' Will L G PS Oh, I'm using Pango compiled with Compaq C, using GTK compiled with CCC, and it works fine as you can notice... It just seems that this one program is the one acting up...