Hi Dave,
The code is quite simple:
#include <stdio.h>
int main (void)
{
printf ("Hello World!\n");
return 0;
}
I think there is nothing wrong with the code. However, when I try to
compile it, I'm receving the error given in my previous post. Since
I'm not familiar with linux based systems I'm doubtful if I'm making
some fundemental mistakes.
After your message, I have searched for "gcc" in cygwin folder and
have found two "gcc.exe" file in
C:\cygwin\usr\local\opt\crosstool\arm-unknown-linux-gnu\gcc-3.3.2-
glibc-2.3.2\arm-unknown-linux-gnu\bin and C:\cygwin\usr\include
folders. When I try to compile the simple code given above using gcc -
Wall -o hello-world hello-world.c instruction I'm givinig following
error:
gcc: installation problem, cannot exec 'cc1: No such file or directory
I have tried to compile the code using gcc.exe in the Command Prompt
of Win XP. I have recived a message that the application cannot be
started since cygwin1.dll could not found.
What should I do at this stage? Thanks,
Oguzhan
--- In David Hawkins <> wrote:
>
> > However, I couldn't
> > succeed it. I'm sending screenshot of the error I have
> > encountered. Could you please guide me about the
> > problem?
>
> The screen shot seems to indicate an error in the
> hello-world.c file, perhaps you could send that.
>
> Better yet, since you've installed Cygwin, just
> compile it with x86 gcc first;
>
> gcc -Wall -o hello-world hello-world.c
>
> Debug until it builds, and then try the cross-compiler.
> That way you eliminate bugs in the c code from the
> equation.
>
> Dave
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|