[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    [uClinux-dev] compiler error
From:       <tufeimail () 263 ! net>
Date:       2003-08-29 2:04:56
[Download RAW message or body]

Hi All,
    Now, my program test.c is compiled in cygwin.
    I use the command to compile it.
            m68k-coff-gcc -c -o test.o test.c
    And the test.c is so simple, such as
            int main(void)
            {
                  return 0;
             }

     then i got the following error infomation:
             /uclinux/tools/bin/m68k-coff-gcc: 1: Syntax error: "(" unexpected

     Maybe the format of test.c is not right. So i use the command dos2unix to chang it.
     I still got the same error infomation as before.
     
     Note: the compiler works right in real Linux system whether the foramat of test.c 
is dso or linux.

     What's wrong!
     What could i do?

tufei





==========================
263电子邮件-信赖邮自专业
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic