combining compile_file object files



Hi,

 Is there a way to collect compiled files ?

 compile_file("a.mac");
 compile_file("b.lisp");
 collect_compiled( "c.o", ["a.o","b.o"]);
 load("c.o");

 After a good deal of searching, I only found how to do
 this with ecl. The following example works for me on linux:

  (compile-file "hello.lsp" :system-p t)
  (compile-file "goodbye.lsp" :system-p t)
  (c:build-fasl "hello-goodbye"
              :lisp-files '("hello.o" "goodbye.o"))


  I wonder how to do this for gcl.

 Thanks

 --John Lapeyre