[comp.sys.amiga.tech] Lattice C Assembler

mapjilg@bath.ac.uk (J I L Gold) (02/12/90)

If I want to make a stand-alone executable out of a program I have
created with the Lattice C 5.02 assembler, do I just need to blink
it with amiga.lib, or is there some other trick to it?
-- 
#  J.Gold                            |    mapjilg@uk.ac.bath.gdr               #
#  University of Bath , UK           |    jilg@uk.ac.bath.maths                #

justus@robin.hut.fi (Juhana R{s{nen) (02/13/90)

In article <1990Feb12.105359.8471@bath.ac.uk> mapjilg@bath.ac.uk
(J I L Gold) writes:

>If I want to make a stand-alone executable out of a program I have
>created with the Lattice C 5.02 assembler, do I just need to blink
>it with amiga.lib, or is there some other trick to it?

It depends on how you make the system calls. If you use _LVOxxxx vectors, you
have to blink the object file with amiga.lib, since all the _LVOs (Library
Vector Offsets) are defined in amiga.lib. However, if you define the offsets
yourself and are sure that you don't use any common library support routines
(such as CreatePort(), DeletePort(), NewList() etc.), you don't have to blink
your object file with any library, just "blink foo.o".

>#  J.Gold                            |    mapjilg@uk.ac.bath.gdr             #
>#  University of Bath , UK           |    jilg@uk.ac.bath.maths              #

	Juhana R{s{nen / justus@niksula.hut.fi
--
.... C'mon Joker...... Sing me a song......