From: DiskMan <nobody@thewheel.com>
Subject: Re: Error msg with Compaq C and -Bstatic
Date: Sat, 15 Oct 2005 22:12:56 GMT [thread overview]
Message-ID: <pan.2005.10.15.22.12.55.221073@thewheel.com> (raw)
In-Reply-To: yw1xfyr2oiy2.fsf@ford.inprovide.com
On Sat, 15 Oct 2005 17:15:17 +0100, M�ns Rullg�rd wrote:
> " DiskMan" <nobody@thewheel.com> 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...
next prev parent reply other threads:[~2005-10-15 22:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-15 14:47 Error msg with Compaq C and -Bstatic DiskMan
2005-10-15 16:15 ` Måns Rullgård
2005-10-15 22:12 ` DiskMan [this message]
2005-10-16 0:09 ` Måns Rullgård
2005-10-16 13:33 ` DiskMan
2005-10-16 14:21 ` Måns Rullgård
2005-10-16 14:35 ` DiskMan
2005-10-16 15:12 ` Måns Rullgård
2005-10-16 21:47 ` DiskMan
2005-10-17 9:35 ` Kaj-Michael Lang
2005-10-17 21:18 ` DiskMan
2005-10-17 23:12 ` Måns Rullgård
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox