This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: can't execute g++ binary
- To: gcc at gcc dot gnu dot org, js1 at js1 dot org
- Subject: Re: can't execute g++ binary
- From: Mike Stump <mrs at windriver dot com>
- Date: Fri, 17 Mar 2000 15:12:07 -0800 (PST)
> Date: Fri, 17 Mar 2000 15:38:07 -0500 (EST)
> From: Jiann-Ming Su <js1@js1.org>
> To: gcc@gcc.gnu.org
> I've got some source code that compiles and runs in Visual C++. I
> can get the same code to compile in Linux with egcs-1.1.2, but I
> can't get it to execute properly. I know this is rather vague, but
> what could potentially cause this other than poorly written code?
> The reason I know it's not executing properly with Linux is because
> the output that is there with the VC++ binary is not with the Linux
> binary. Thanks for any insight.
Unportable code is the most likely scenario. comp.lang.c or
comp.lang.c++ is a better place to discuss programming in C/C++ and
portability than this forum.
There is a technique called debugging that might be able to help you
track down the problem and fix it, but it is beyound the scope of this
forum.
Because you neither gave the program, nor what you saw with Visual C++
nor with gcc, there isn't any other help we can give.
Sorry we could not be of more help.