* Need GCC & debugger on Tru64 5.1
@ 2003-03-13 2:09 Marc S. Gibian
2003-03-22 14:39 ` Michael Heiming
0 siblings, 1 reply; 7+ messages in thread
From: Marc S. Gibian @ 2003-03-13 2:09 UTC (permalink / raw)
I am trying to put together a Tru64 machine to support porting some
software to the Tru64 platform. I have the system put together and
running Tru64 5.1 (I believe, though for some reason I thought it was
5.1a), having administered Unix systems including Tru64 in the past.
The software I am porting uses gcc on all other Unix/Linux platforms
on which its supported, so I've been trying to grab the sources and
build a gcc for this platform. I've tried 3.2.1, which I can build
install and compiles my code, only to fail to run. I've tried the
binary available for 3.0.2, and that was pretty much the same thing,
though as I tried different build arguments I did run into problems
with compiler errors with this one. I'm in the process of trying
3.2.2, though I don't expect to be any more successful this time
around.
Once I've built the software in question with one of the gcc
compilers, I then try to get it under a debugger. I tried gdb 5.3 and
5.2.1, the former fails to set breakpoints while the latter just takes
a fatal memory error when I try to run the program I'm attempting to
debug.
Searching the Internet via google, I found instructions to grab a
ladebug that appears to not need a license, so I installed that.
ladebug loads, but reports that it can not read the debug information
from my program as it is stored in STABS format, not supported by
ladebug.
I've been attempting to turn off STABS at the compiler's command line
and by rebuilding the compiler, all to no avail. ladebug continues to
complain of the STABS content and thus can not debug my program.
I'm hoping that someone out there can help me put together a gcc and
debugger that will allow me to investigate the problems I'm having
with my ported software.
Thank you very much in advance for your help.
Sincerely,
Marc S. Gibian
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Need GCC & debugger on Tru64 5.1
2003-03-13 2:09 Need GCC & debugger on Tru64 5.1 Marc S. Gibian
@ 2003-03-22 14:39 ` Michael Heiming
2003-03-25 22:40 ` Marc S. Gibian
0 siblings, 1 reply; 7+ messages in thread
From: Michael Heiming @ 2003-03-22 14:39 UTC (permalink / raw)
Marc S. Gibian <marc.gibian@acm.org> wrote:
> Once I've built the software in question with one of the gcc
> compilers, I then try to get it under a debugger. I tried gdb 5.3 and
> 5.2.1, the former fails to set breakpoints while the latter just takes
> a fatal memory error when I try to run the program I'm attempting to
> debug.
> Searching the Internet via google, I found instructions to grab a
> ladebug that appears to not need a license, so I installed that.
Always thought you need a license for ladebug, anyway it might only
work probably with progs compiled with the C compiler that comes
with Tru64.
I'd use this one, instead of gcc, I had no problems compiling various
OSS progs, including apache, with it. AFAIK it produces faster binaries
then gcc, which is great but why use another compiler if there comes
one with the OS, which is for sure better optimized for Tru64?
Good luck
--
Michael Heiming
Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of SPAM
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Need GCC & debugger on Tru64 5.1
2003-03-22 14:39 ` Michael Heiming
@ 2003-03-25 22:40 ` Marc S. Gibian
2003-03-26 9:49 ` Michael Heiming
0 siblings, 1 reply; 7+ messages in thread
From: Marc S. Gibian @ 2003-03-25 22:40 UTC (permalink / raw)
Michael Heiming <michael+USENET@www.heiming.de> wrote in message news:<1jsh5b.jiq.ln@news.heiming.de>...
> Always thought you need a license for ladebug, anyway it might only
> work probably with progs compiled with the C compiler that comes
> with Tru64.
It seems to be available without the license via download, though gcc
does not produce the correct form of debug data, so its not terribly
useful.
> I'd use this one, instead of gcc, I had no problems compiling various
> OSS progs, including apache, with it. AFAIK it produces faster binaries
> then gcc, which is great but why use another compiler if there comes
> one with the OS, which is for sure better optimized for Tru64?
I do agree that the DEC compiler generates much more efficient code
for alpha. The only problem is it costs money while gcc is free (if
you don't calculate the time I spend trying to get it to work, or
debugging without a debugger). Sigh. That's just the way it is.
Thank you for your help,
Marc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Need GCC & debugger on Tru64 5.1
2003-03-25 22:40 ` Marc S. Gibian
@ 2003-03-26 9:49 ` Michael Heiming
2003-03-27 6:22 ` Nikola Milutinovic
0 siblings, 1 reply; 7+ messages in thread
From: Michael Heiming @ 2003-03-26 9:49 UTC (permalink / raw)
Marc S. Gibian <marc.gibian@acm.org> wrote:
> I do agree that the DEC compiler generates much more efficient code
> for alpha. The only problem is it costs money while gcc is free (if
> you don't calculate the time I spend trying to get it to work, or
> debugging without a debugger). Sigh. That's just the way it is.
Strange, thought it would be the other way round, the C compiler comes
with every version of Tru64 and is payed with the OS license, while ladebug
needs an extra license. Perhaps someone knows more? I'm using mostly OSS
sw, so I don't care much about licenses.
--
Michael Heiming
Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of SPAM
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Need GCC & debugger on Tru64 5.1
2003-03-26 9:49 ` Michael Heiming
@ 2003-03-27 6:22 ` Nikola Milutinovic
2003-03-27 19:14 ` Fan of Carnivorous birds
2003-04-30 19:32 ` Michael Pal
0 siblings, 2 replies; 7+ messages in thread
From: Nikola Milutinovic @ 2003-03-27 6:22 UTC (permalink / raw)
Michael Heiming wrote:
> Marc S. Gibian <marc.gibian@acm.org> wrote:
>
>
>>I do agree that the DEC compiler generates much more efficient code
>>for alpha. The only problem is it costs money while gcc is free (if
>>you don't calculate the time I spend trying to get it to work, or
>>debugging without a debugger). Sigh. That's just the way it is.
>
>
> Strange, thought it would be the other way round, the C compiler comes
> with every version of Tru64 and is payed with the OS license, while ladebug
> needs an extra license. Perhaps someone knows more? I'm using mostly OSS
> sw, so I don't care much about licenses.
CC is bundled with the system
DBX and LaDebug require a OSF-DEV-USR license
CXX requires CXXOSF-USER
Nix.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Need GCC & debugger on Tru64 5.1
2003-03-27 6:22 ` Nikola Milutinovic
@ 2003-03-27 19:14 ` Fan of Carnivorous birds
2003-04-30 19:32 ` Michael Pal
1 sibling, 0 replies; 7+ messages in thread
From: Fan of Carnivorous birds @ 2003-03-27 19:14 UTC (permalink / raw)
Nikola Milutinovic wrote:
> CC is bundled with the system
> DBX and LaDebug require a OSF-DEV-USR license
> CXX requires CXXOSF-USER
stupid question time, but I'm currently w/o a tru64 box to access
(workforce reductions kinda suck in that regard)...
Is/was gdb compile-able and usable on a Tru64 box via the included c
compiler? I recall coaxing a gcc build and using DDD (for perl debugging
mostly) but can't recall if I successfully built (or even TRIED to
build) gdb on my desktop box. If it works, that might be one alternative
to snagging a debugger.
iirc, getting ddd to work was a minor feat.. or maybe that was on the
SGI behind me. Employment seems so long ago.. :/
-r (anyone need a HPUX/Tru64/IRIX-experienced admin? :)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Need GCC & debugger on Tru64 5.1
2003-03-27 6:22 ` Nikola Milutinovic
2003-03-27 19:14 ` Fan of Carnivorous birds
@ 2003-04-30 19:32 ` Michael Pal
1 sibling, 0 replies; 7+ messages in thread
From: Michael Pal @ 2003-04-30 19:32 UTC (permalink / raw)
Hi,
I was wondering then, since your on the topic of compilers....
I have a Compaq Tru64 UNIX V5.0 (Rev. 910) box with
its own bundled CC isntalled but I cannot seem to verify that
the library posix4 is present. Advise me please on how to
tell. Naturally I am compiling using the -lposix4 flag. I need
this flag.
Mike Pal
"Nikola Milutinovic" <Nikola.Milutinovic@ev.co.yu> wrote in message
news:3E8298AE.1030901@ev.co.yu...
> Michael Heiming wrote:
> > Marc S. Gibian <marc.gibian@acm.org> wrote:
> >
> >
> >>I do agree that the DEC compiler generates much more efficient code
> >>for alpha. The only problem is it costs money while gcc is free (if
> >>you don't calculate the time I spend trying to get it to work, or
> >>debugging without a debugger). Sigh. That's just the way it is.
> >
> >
> > Strange, thought it would be the other way round, the C compiler comes
> > with every version of Tru64 and is payed with the OS license, while
ladebug
> > needs an extra license. Perhaps someone knows more? I'm using mostly OSS
> > sw, so I don't care much about licenses.
>
> CC is bundled with the system
> DBX and LaDebug require a OSF-DEV-USR license
> CXX requires CXXOSF-USER
>
> Nix.
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-04-30 19:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-13 2:09 Need GCC & debugger on Tru64 5.1 Marc S. Gibian
2003-03-22 14:39 ` Michael Heiming
2003-03-25 22:40 ` Marc S. Gibian
2003-03-26 9:49 ` Michael Heiming
2003-03-27 6:22 ` Nikola Milutinovic
2003-03-27 19:14 ` Fan of Carnivorous birds
2003-04-30 19:32 ` Michael Pal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox