openvds-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openvds-devel] compilation tips


From: Lev V. Vanyan
Subject: [Openvds-devel] compilation tips
Date: Tue, 28 May 2002 21:27:11 +0300

-----BEGIN PGP SIGNED MESSAGE-----

Hi all!

Is there anybody knows, how to compile source, if it uses the function from 
archive (*.a) and this function defined as static? (like this :
static char* foo(some_params) ??
I've tried my best, but failed :(
any adeas?
I tried to compile the way like:
/usr/bin/gcc -O2 -fomit-frame-pointer -c -o foo.o foo.c
/usr/bin/gcc -O2 -fomit-frame-pointer -o target foo.o archive.a

- -- 
Lev V. Vanyan                    Software Engineer
Mirotel ISP                      nic-hdl: VL1580-RIPE, LV2560-NIC
mailto: address@hidden
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv

iQB1AwUBPPPL/89Sz223N4s1AQGi4wL+PDWFH5f87v13/Cw+NHfDp05BnP9FcNOr
u4SF0nCza+YT9w6dB9pE6s2c/VUT2wDZ/dtqbOzBjFqSfgwyAD/cZuLR2iq0SMHm
6E0f1AzoNt1fEHuv+NDz/7uGR/nAQlmP
=+H8k
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]