🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41998

(no subject)

#41998
From: Randy Marchany
Date: Fri, 26 Jan 1996 00:00
28 lines
1458 bytes
Hello. I'm trying to create a shared segment using gcc 2.7.0 running on an DEC
Alpha (DEC Unix 3.2c). The ld command should accept a -n option which creates
an NMAGIC file. I haven't been able to do so. Here's a sample command sequence
I used:

% gcc -o setsched setsched.c -n
collect2: ld returned 1 exit status
/usr/bin/ld:
NMAGIC files must be created -non_shared.
% gcc -o setsched setsched.c -n -non_shared
gcc: unrecognized option `-non_shared'
collect2: ld returned 1 exit status
/usr/bin/ld:
NMAGIC files must be created -non_shared.
% gcc -o setsched setsched.c -n -Xlinker -non_shared
collect2: ld returned 1 exit status
/usr/bin/ld:
-non_shared: must specify only one of -shared, -call_shared, -non_shared
/usr/bin/ld: Usage: /usr/bin/ld [options] file [...]


Any help is greatly appreciated. Thanks.

	-Randy Marchany
	VA Tech Computing Center
	Blacksburg, VA 24060

Internet:  randy.marchany@vt.edu
Technical Details
Message-ID: <4ebm7d$lpq@solaris.cc.vt.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,8b4268954cc56d3f,start
X-Google-Attributes: gid11318c,public
From: Randy Marchany <marchany>
Subject: (no subject)
Date: 1996/01/26
Message-ID: <4ebm7d$lpq@solaris.cc.vt.edu>
X-Deja-AN: 136657952
content-type: text/plain; charset=us-ascii
organization: Virginia Tech, Blacksburg, Virginia
x-url: news://solaris.cc.vt.edu/gnu.gcc.help/16743-16842
mime-version: 1.0
newsgroups: gnu.gcc.help
x-mailer: Mozilla 1.1N (X11; I; OSF1 V3.2 alpha)