Issues with using g++ and dynamic libraries
Fri Jun 6 11:45:00 GMT 2003
I'll suggest to change the name main.c to main.cc (same with CC.c).
Note: The attached Makefile the name of the compiler is still gcc ;-).
Change it to g++.
De : firstname.lastname@example.org [mailto:email@example.com]De la
part de Luca.Illengo@marconiselenia.com
EnvoyÃ© : vendredi 6 juin 2003 12:07
Ã : firstname.lastname@example.org
Objet : Issues with using g++ and dynamic libraries
Hi everybody !!
I have used gcc to open and run functions from a dll using the following
(See attached file: main.c) and the little shared dll object: (See attached
by using the following makefile: (See attached file: makefile)
and everything goes OK.
But when using g++ (e.g. running makefile using 'make COMPILER_NAME=g++')
the shared library results not being readable.
The gcc version I'm using is 3.3, installed on a previously running 2.96.
Can you help me ? What did I do wrong ?
More information about the Gcc-help