ts-7000
[Top] [All Lists]

[ts-7000] Re: TS7200 hello world problem

To:
Subject: [ts-7000] Re: TS7200 hello world problem
From: "urhano" <>
Date: Sat, 02 Jun 2007 09:55:15 -0000
Hi Matt,

It is actually zero not 'o'. Thanks for your suggestion. 

Oguzhan

--- In  Matt Cline <> wrote:
>
> hi it looks like your code is returning o instead of 0. 
> 
> ----- Original Message ----
> From: David Hawkins <>
> To: 
> Sent: Friday, June 1, 2007 1:23:46 PM
> Subject: Re: [ts-7000] Re: TS7200 hello world problem
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   
> 
> 
>     
>             Hi Oguzhan,
> 
> 
> 
> > The code is quite simple:
> 
> > 
> 
> > #include <stdio.h>
> 
> > int main (void)
> 
> > {
> 
> > printf ("Hello World!\n");
> 
> > return 0;
> 
> > }
> 
> 
> 
> Ok, I figured it would be, but it helps to check.
> 
> 
> 
> > 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. 
> 
> 
> 
> You want the command prompt that came with Cygwin, i.e., the bash
> 
> shell.
> 
> 
> 
> For example,
> 
> 
> 
> $ which gcc
> 
> /usr/bin/gcc
> 
> 
> 
> $ gcc --version
> 
> gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> 
> Copyright (C) 2004 Free Software Foundation, Inc.
> 
> This is free software; see the source for copying conditions.  
There is 
> 
> NO warranty; not even for MERCHANTABILITY or FITNESS FOR A 
PARTICULAR 
> 
> PURPOSE.
> 
> 
> 
> Shows that I have gcc installed, its seen as /usr/bin/gcc, and
> 
> the version here should be pretty recent as I allowed Cygwin
> 
> to update its packages when I built the TS ARM compiler.
> 
> 
> 
> If you can't see this version of gcc, then run the Cygwin setup
> 
> utility and add the gcc tools and anything else that looks 
interesting.
> 
> 
> 
> Before figuring out cross-compilation on the command line,
> 
> it'll help to get native compilation working first.
> 
> 
> 
> Cheers
> 
> Dave
> 
> 
> 
> 
> 
>     
>   
> 
>     
>     
> 
> 
> 
> 
> <!--
> 
> #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, 
sans-serif;}
> #ygrp-mlmsg table {font-size:inherit;font:100%;}
> #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, 
clean, sans-serif;}
> #ygrp-mlmsg pre, code {font:115% monospace;}
> #ygrp-mlmsg * {line-height:1.22em;}
> #ygrp-text{
> font-family:Georgia;
> }
> #ygrp-text p{
> margin:0 0 1em 0;}
> #ygrp-tpmsgs{
> font-family:Arial;
> clear:both;}
> #ygrp-vitnav{
> padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
> #ygrp-vitnav a{
> padding:0 1px;}
> #ygrp-actbar{
> clear:both;margin:25px 0;white-space:nowrap;color:#666;text-
align:right;}
> #ygrp-actbar .left{
> float:left;white-space:nowrap;}
> .bld{font-weight:bold;}
> #ygrp-grft{
> font-family:Verdana;font-size:77%;padding:15px 0;}
> #ygrp-ft{
> font-family:verdana;font-size:77%;border-top:1px solid #666;
> padding:5px 0;
> }
> #ygrp-mlmsg #logo{
> padding-bottom:10px;}
> 
> #ygrp-vital{
> background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;}
> #ygrp-vital #vithd{
> font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-
transform:uppercase;}
> #ygrp-vital ul{
> padding:0;margin:2px 0;}
> #ygrp-vital ul li{
> list-style-type:none;clear:both;border:1px solid #e0ecee;
> }
> #ygrp-vital ul li .ct{
> font-weight:bold;color:#ff7900;float:right;width:2em;text-
align:right;padding-right:.5em;}
> #ygrp-vital ul li .cat{
> font-weight:bold;}
> #ygrp-vital a {
> text-decoration:none;}
> 
> #ygrp-vital a:hover{
> text-decoration:underline;}
> 
> #ygrp-sponsor #hd{
> color:#999;font-size:77%;}
> #ygrp-sponsor #ov{
> padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;}
> #ygrp-sponsor #ov ul{
> padding:0 0 0 8px;margin:0;}
> #ygrp-sponsor #ov li{
> list-style-type:square;padding:6px 0;font-size:77%;}
> #ygrp-sponsor #ov li a{
> text-decoration:none;font-size:130%;}
> #ygrp-sponsor #nc {
> background-color:#eee;margin-bottom:20px;padding:0 8px;}
> #ygrp-sponsor .ad{
> padding:8px 0;}
> #ygrp-sponsor .ad #hd1{
> font-family:Arial;font-weight:bold;color:#628c2a;font-
size:100%;line-height:122%;}
> #ygrp-sponsor .ad a{
> text-decoration:none;}
> #ygrp-sponsor .ad a:hover{
> text-decoration:underline;}
> #ygrp-sponsor .ad p{
> margin:0;}
> o {font-size:0;}
> .MsoNormal {
> margin:0 0 0 0;}
> #ygrp-text tt{
> font-size:120%;}
> blockquote{margin:0 0 0 4px;}
> .replbq {margin:4;}
> -->
>




 
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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU