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]
Other format: [Raw text]

[Bug c/15219] New: Cannot build gcc 3.3.3 m68k-elf under Cygwin however, can build it under Linux.


Hello all,

I am trying to build a cross-compiler to support the Motorola
ColdFire processors. I have verified that the following items
build correctly on a RedHat Linux 8 machine: 

binutils-2.14
gcc-3.3.3
gdb-6.1

Unfortunately, the same version of GCC will not build under my
Cygwin environment. Binutils _does_ build fine.

This is the exact same problem reported in bug #13551 which is
entitled "Cannot build GCC 3.3.2 on Windows" and which can be
referenced at: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13551.

Unfortunately, that bug is marked closed and no resolution was
found as far as I can tell.

During the build of gcc, the file insn-conditions.c generates
errors. It appears to have some newlines in it that just don't
belong there. I removed them and the compilation continued until
I get to genflags where an internal error is encountered.

I see that insn-conditions.c is automatically generated. I'm
wondering if bison or lex or some other such tool is used to
generate the string tables. If so, perhaps the problem might
be with cygwin's version of said tool??

I am running WindowsXP Professional.

The configuration line that I use is:

configure --prefix=/tools --target=m68k-elf --enable-languages=c --disable-threads

The host version of gcc that I'm using to compile is:
  gcc (GCC) 3.3.1 (cygming special)

I'll be glad to attach any other information that you would
like to see.

Best regards,
            --mike

-- 
           Summary: Cannot build gcc 3.3.3 m68k-elf under Cygwin however,
                    can build it under Linux.
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mikee at logicpd dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-cygwin
GCC target triplet: m68k-unknown-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15219


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