Using object compile with gcc with g++

Ernst Damien dernst@ulg.ac.be
Fri Oct 3 03:12:00 GMT 2003


   Hi,

I have some objects (.o) that have been compiled with gcc (the source code
is written in c) and I would like to call some of these functions from a
program that I write in c++. I seems that when linking the different
objects, the compiler cannot identify the functions that are inside the .o
objects written in C and that are called from the .o objects written in
C++.

  Thanks for your help.

   Damien

-- 
Damien ERNST    Post-doctoral researcher
University of Liege - Dpt. of Elec. Eng.,
Building B28, Parking P32, B-4020 Liege, BELGIUM.
email : dernst@ulg.ac.be
homepage : http://www.montefiore.ulg.ac.be/~ernst/




More information about the Gcc-help mailing list