Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Building BINUTILS on a bare OS 5.0.6 - can't make libbfd.la

0 views
Skip to first unread message

Steve Manning

unread,
May 14, 2003, 12:08:12 PM5/14/03
to
I'm trying to bootstrap a GCC development environment on a bare SCO
OpenServer 5.0.6 system.

I've installed the Application Development Libraries and Linker from
the distribution media, and installed the Development tools on the
Skunkworks CD.

That version of GCC appears to work fine, as I've successfully
compiled a few utilities.

I want to replace all of the Skunkworks stuff with the latest versions
of GCC and everything else. I can't do a new GCC without BINUTILS
since apparently "ar" wasn't included in the Skunkworks dev tools.

So I snagged the latest BINUTILS release (2.13.2.1) and tried to build
it. It blew up due to a missing "ar" as well.

I found in the binutils/README a shell script to build just "ar" so
that the rest of BINUTILS can be built. When I try to run it, it
fails with the following:
make[2]: *** No rule to make target `../bfd/libbfd.la', needed by `size'. Stop.
make[2]: Leaving directory `/usr/local/source/binutils/binutils-2.13.2.1/binutils'

I tried going to the bfd directory and making libbfd.la, but that
fails due to the lack of an "ar".

Does anyone have a suggestion as to how I can get around this
roadblock?

Alternatively, would anyone be able to e-mail me a working "ar"?

Thanks.

Steve Manning
Milwaukee, WI

Steve Manning

unread,
May 30, 2003, 5:35:40 PM5/30/03
to
ping??

mann...@tds.net (Steve Manning) wrote in message news:<f4d5ed5.03051...@posting.google.com>...


> I'm trying to bootstrap a GCC development environment on a bare SCO
> OpenServer 5.0.6 system.

...

> I want to replace all of the Skunkworks stuff with the latest versions
> of GCC and everything else. I can't do a new GCC without BINUTILS
> since apparently "ar" wasn't included in the Skunkworks dev tools.
>
> So I snagged the latest BINUTILS release (2.13.2.1) and tried to build
> it. It blew up due to a missing "ar" as well.

...

Jean-Pierre Radley

unread,
May 30, 2003, 6:04:00 PM5/30/03
to
Steve Manning typed (on Fri, May 30, 2003 at 02:35:40PM -0700):

Have you loaded the "Linker and Application Development Libraries"
from your 5.0.6 CD-ROM?

--
JP

Steve Manning

unread,
Jun 2, 2003, 6:40:38 PM6/2/03
to
Jean-Pierre Radley <j...@jpr.com> wrote in message news:<20030530220...@jpradley.jpr.com>...

> Have you loaded the "Linker and Application Development Libraries"
> from your 5.0.6 CD-ROM?

Hello, JP - thanks for responding.

As I mentioned in my original post, I have loaded those items off the
CD.

I'm able to use the Skunkworks GCC but there doesn't seem to be a
version of "ar" included along with it in the Development Tools
section.

Steve

Jean-Pierre Radley

unread,
Jun 2, 2003, 7:03:41 PM6/2/03
to Robert Lipe
Steve Manning typed (on Mon, Jun 02, 2003 at 03:40:38PM -0700):

Well, then I don't recall what's wrong. A few years ago, /bin/as wasn't
included in that suite. I always though /bin/ar was, though. Anyone else
(i.e., Robert Lipe) remember?

--
JP

Bill Campbell

unread,
Jun 2, 2003, 7:58:15 PM6/2/03
to
On Mon, Jun 02, 2003 at 07:03:41PM -0400, Jean-Pierre Radley wrote:
...

>Well, then I don't recall what's wrong. A few years ago, /bin/as wasn't
>included in that suite. I always though /bin/ar was, though. Anyone else
>(i.e., Robert Lipe) remember?

The only I remember being missing was the simple debugger, adb, which is
there, but hidden as /etc/_fst.

I'm pretty sure everthing else necessary to run gcc is included in the
header and library package on the installation CDrom. Given that
/etc/conf/cf.d/link_unix needs to be able to do rudimentary compiles and
linking to build new kernels.

Bill
--
INTERNET: bi...@Celestial.COM Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

When I hear a man applauded by the mob I always feel a pang of pity
for him. All he has to do to be hissed is to live long enough.
-- H.L. Mencken, ``Minority Report''

Jean-Pierre Radley

unread,
Jun 2, 2003, 8:51:31 PM6/2/03
to bi...@celestial.com
Bill Campbell typed (on Mon, Jun 02, 2003 at 11:58:15PM +0000):

| On Mon, Jun 02, 2003 at 07:03:41PM -0400, Jean-Pierre Radley wrote:
| ...
| >Well, then I don't recall what's wrong. A few years ago, /bin/as wasn't
| >included in that suite. I always though /bin/ar was, though. Anyone else
| >(i.e., Robert Lipe) remember?
|
| The only I remember being missing was the simple debugger, adb, which is
| there, but hidden as /etc/_fst.
|
| I'm pretty sure everthing else necessary to run gcc is included in the
| header and library package on the installation CDrom. Given that
| /etc/conf/cf.d/link_unix needs to be able to do rudimentary compiles and
| linking to build new kernels.

Yeah, but rudimentary compiles needn't create libraries, and so don't
need /bin/ar.

--
JP

Steve Manning

unread,
Jun 6, 2003, 4:10:27 PM6/6/03
to
Jean-Pierre Radley <j...@jpr.com> wrote in message news:<20030602230...@jpradley.jpr.com>...

> Steve Manning typed (on Mon, Jun 02, 2003 at 03:40:38PM -0700):

> | I'm able to use the Skunkworks GCC but there doesn't seem to be a


> | version of "ar" included along with it in the Development Tools
> | section.
>
> Well, then I don't recall what's wrong. A few years ago, /bin/as wasn't
> included in that suite. I always though /bin/ar was, though. Anyone else
> (i.e., Robert Lipe) remember?

I seem to have found a way around this now.

I basically installed the DevKit from the media supplied without
licensing it, built BINUTILS (including "ar" -- w00t!) and then used
pkgrm to remove those DevKit packages.

The licensing screen for the DevKit indicated that use of the DevKit
for a significant amount of time required licensing. Since I
basically just used it to compile this one program and then removed
it, I believe that I stayed within the terms of the license.

Now if you run that by SCO's current crop of lawyers... well, who
knows? :-)

Thanks all.

Steve

0 new messages