Static binaries?
#1
Static binaries?
Okay, I'm thoroughly out of my depth here.

I've been trying to figure out on IRIX how to build a static shell (mksh and tcsh 6.20 - replacing the old and buggy shell versions) and I'm not able to for some reason.

Many of these don't have a static configure option so I've tried:

gmake SHARED=0 CC=c99 CFLAGS=-static

That will pass -static with c99 to the binary, but....

ldd tcsh
        libcurses.so  =>         /usr/lib32/libcurses.so
        libc.so.1  =>    /usr/lib32/libc.so.1

Meanwhile, I can't find with nm any dynamic symbols. 

So what should I believe here? And am I just a moron who overlooked something?

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
11-30-2018, 03:55 AM


Messages In This Thread
Static binaries? - by Raion - 11-30-2018, 03:55 AM
RE: Static binaries? - by onre - 11-30-2018, 05:08 AM
RE: Static binaries? - by Raion - 11-30-2018, 06:05 AM
RE: Static binaries? - by jan-jaap - 11-30-2018, 10:07 AM
RE: Static binaries? - by onre - 11-30-2018, 10:14 AM
RE: Static binaries? - by mrthinlysliced - 12-16-2018, 10:39 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)