On Sat, 1 Nov 2014, Richard wrote:

[...]
That is not how you link objects files.
You could create an archive for this purpose using:

ar rc foreign-interfaces.a sources/foreign-interfaces/fastcgi.o
sources/foreign-interfaces/sqlite.o
[...]

Hello,

if your linker supports that, it may also be possible to recombine multiple objects into a single relocatable output. With GNU ld you could do

  ld --relocatable \
  sources/foreign-interfaces/fastcgi.o \
  sources/foreign-interfaces/sqlite.o \
  -o foreign-interfaces.o

However, the CHICKEN compiler driver only directly supports linking things together into dynamic libraries or executables.

Ciao,
Thomas


--
When C++ is your hammer, every problem looks like your thumb.


_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to