compiling c++ files with static libraries of c

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

 



hi,

is it possible to compile a c++ file with a static library created from a c file?

for eg i have file - slib.c of which i create a static library , say libslib.a
now can i link a c++ file with this libslib.a library? i am running gcc 2.95.2 - yes i know its old but i need it for compatibility issues.

on the other hand how can i create stubs to my system calls in a c++ file? the normal syntax of
_syscallN(....) doesnt seem to work for me

thanks,
nirmal

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux