[plt-scheme] making an embedded application using autoconf.

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Mar 22 12:10:48 EST 2005

At Mon, 21 Mar 2005 17:00:15 -0800 (PST), Randy Robinson wrote:
> g++  -g -O2   -o machinabello `sdl-config --libs` -lGL
> -lmzscheme -lmzgc \
>     machinabello-machinabello.o machinabello-math.o \
>     machinabello-schemebind.o machinabello-terrain.o
> libbello.a

You need to put .o files first.

Parts of a .a are only used if they're needed to satisfy requirements
for earlier .o files (or for used parts of earlier .a files).

Matthew



Posted on the users mailing list.