This is the mail archive of the gcc-bugs@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]

Re: ld symbol referencing errors


> Hi, I get ld symbol referencing errors when i try to compile the attached 
> files with gcc, g++, or c++.

> I say
> /usr/local/bin/gcc tryspawn.cpp
> What do I need to do to fix?

Thanks for your bug report. This is not a bug in the compiler, but in
your code, or in the C library. In standard C, there is no function
"_spawnv" - that is a Microsoft invention (I believe). You either need
a C library that provides that function, or you must avoid using it.

Regards,
Martin

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