🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Mitchell Troy, (714) 856-8280 Sat, 23 Jan 1993 02:45
GCC and libraries
#1646
Author: Mitchell Troy, (714) 856-8280
Date: Sat, 23 Jan 1993 02:45
20 lines
1075 bytes
I am not sure if this is the correct place to post this or not.  We are
using gcc Version 2.3.2 on a SUN 330.  We are trying to create a library out
of a group of c porgrams.  In the past we have used the following makefile,
however, it usses cc to compile the programs.  How do we make it use gcc or
is there a different type of makefile we should be using?

CFLAGS = -g

nrlib.a: nrlib.a(	nrutil.o	)
	ar rv $@ $?
	ranlib $@

nrlib.a(%.o): %.o
	@true

Here ntutil.c is the routine and nrlib.a is the library

					Thanks,
					Mitchell Troy
					(714) 476-0800
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads