public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Compatibility between g++ and gcc compiled sources
@ 2005-05-25 14:47 Eljay Love-Jensen
  0 siblings, 0 replies; 2+ messages in thread
From: Eljay Love-Jensen @ 2005-05-25 14:47 UTC (permalink / raw)
  To: Julio Garvia, gcc-help

Hi Julio,

When you specify the identifiers from the shared libraries C declaration in the C++ translation unit, are you doing it like this...

extern "C" void MyCSharedLibraryFunction(int a, double b);
extern "C" int MyCSharedLibraryVariable;

...?

HTH,
--Eljay

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Compatibility between g++ and gcc compiled sources
@ 2005-05-25 14:42 Julio Garvia
  0 siblings, 0 replies; 2+ messages in thread
From: Julio Garvia @ 2005-05-25 14:42 UTC (permalink / raw)
  To: gcc-help

Hello,

I am trying to execute a C++ program (compiled with g++) that uses a C 
shared library (compiled with gcc), but several 'unresolved' messages are 
reported when its execution is tried. 

Is there any way to solve this incidence?

Thanks in advanced,

Julio Garvía Honrado

ORGA Systems enabling services GmbH

E-Mail: jgarvia@orga-systems.com
Internet: http://www.orga-systems.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-25 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-25 14:47 Compatibility between g++ and gcc compiled sources Eljay Love-Jensen
  -- strict thread matches above, loose matches on Subject: below --
2005-05-25 14:42 Julio Garvia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).