This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with Usage of GNU GCC compiler with VC++


Hi,

I need small help from you.

I am using GNU GCC Compiler(gcc-2.95.2-msvcrt).  And I am facing following
problems, pl. send any one find the solution(s).

1. DLL linking problems whenever I use some Std C/C++ libraries or win32
functions like
   create mutex,... as unresolved function names.  But I link corresponding
libraries
   (like libkernel32.a), I am getting some warnings.. But able to form the
DLL.

   But using those DLLs in executables, it's crashing/giving error as access
violation.

2. Is it possible to link VC++ (static libraries or DLLs) with GCC (DLLs)
and use
   in VC++ executable, as follows:

  				   VC++ Executable (C/C++)
						|
						|
						|
						^
				     GCC DLL (C/C++)
					/\     \        \
				     /  \     \        \
				VC++    VC++   GCC DLL  SDK libs
				Static  DLL
				library

Thanks & Regards,
Pradeep


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]