[Coco] C progs under Nitros9

Bob Devries devries.bob at gmail.com
Sun Aug 5 11:56:53 EDT 2007


Paul,
The way to create a library (*.l) file is to compiler your source files to
the relocatable file stage (*.r), and then merge the files together to form
a *.l file. You do need to make sure that the order of the files in the
library file is correct; i.e. that no *.r file calls another towards the
beginning of the file.

The original OS9 C Compiler disk 2 has an example in the SOURCES/SYS
directory.

HTH

--
Regards, Bob Devries, Dalby, Queensland, Australia

Isaiah 50:4 The sovereign Lord has given me
the capacity to be his spokesman,
so that I know how to help the weary.

website: http://www.home.gil.com.au/~bdevasl
my blog: http://bdevries.invigorated.org/

----- Original Message -----
From: "tim lindner" <tlindner at macmess.org>
To: <coco at maltedmedia.com>
Sent: Monday, August 06, 2007 1:41 AM
Subject: Re: [Coco] C progs under Nitros9



> Paul Fitch <pfitchjr at bellsouth.net> wrote:

>

>> I'm trying to compile curses.c, but I don't want to make it an executable

>> file. I want to make it a library ".l" file. Is the only difference

>> between a ".r" file and a ".l" file the extension used?

>

> Yes.

>

> But .l files can have multiple .r files concatenated together.

>

> --

> tim lindner

> tlindner at macmess.org Bright

>

> --

> Coco mailing list

> Coco at maltedmedia.com

> http://five.pairlist.net/mailman/listinfo/coco





More information about the Coco mailing list