Am Thursday, dem 03. Nov 2005 schrieb Frank Heckenbach:
vanam srihari kumar wrote:
How to call the linker explicitly in gpc 2.1 version.
Via GPC, you can just call GPC with object files:
gpc -o foo foo.o bar.o baz.o
Without GPC, you can call ld, but have to add the GPC runtime library (`gpc -print-file-name=libgpc.a' gives the file name) and -lm.
Can I use that to compile code on my local machine and link it on a machine, where gpc is not installed? (same OS, same machine type, but different library versions)
Is it enough to copy the file libgpc.a, or what else do I need?