Re: Building GCC on LynxOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Roberto Cabral <roberto.cabral@xxxxxxxxx> writes:

> /usr/tmp//ccBD9G5C.s:4: Warning: .type pseudo-op used outside of .def/.endef ignored.

Looks to me like the compiler is generating ELF but the assembler is
expecting COFF.  You will need to get them to agree.

> The target of this machine is x86-coff and I'm using GCC 2.95.3.
> Anyone can suggest something to build GCC 4 on this system?

In gcc 4 the i386-lynxos target generates ELF.  If you need COFF you
will need to undo that.  gcc in general does still support COFF.

The change to ELF was made with this patch:
    http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00501.html
It is perhaps unfortunate that the patch did not preserve the ability
to configure for older versions of LynxOS.  But if you reverse that
patch, you *may* be able to get a working LynxOS COFF compiler.  Or
there may be other problems.  It's hard to know.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux