This is the mail archive of the gcc-help@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]

Re: Problem building gcc for arm-pid


There does appear to be "\" popping up in the code.  Here is a snippit of
some of the code in that file:

#define TARGET_SWITCHES  				\
{                         				\
  {"apcs",			ARM_FLAG_APCS_FRAME, "" }, \
  {"apcs-frame",		ARM_FLAG_APCS_FRAME, 	\
     "Generate APCS conformant stack frames" },		\
  {"no-apcs-frame",	       -ARM_FLAG_APCS_FRAME, "" }, \
  {"poke-function-name",	ARM_FLAG_POKE, 		\
     "Store function names in object code" },		\
  {"no-poke-function-name",    -ARM_FLAG_POKE, "" },	\


This is the code I was told to download from eCos's Building the ARM
development tools for Windows webpage
at: http://sources.redhat.com/ecos/tools/win-arm-elf.html

Is there a newer or better version of this code that I should get for
Windows?  The two files recommended were: 
GCC 2.95.2 core compiler
distribution (gcc-core-2.95.2.tar.bz2 - 6.6MB) 
GCC 2.95.2 C++ distribution (gcc-g++-2.95.2.tar.bz2 - 1.2MB) 

Thanks for the help,
Jason Finnegan



On 6 Feb 2001, Alexandre Oliva wrote:

> On Feb  6, 2001, Jason Finnegan <jasonf@sds.agilent.com> wrote:
> 
> > /src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:226: parse error before `{'
> 
> What's there in the few lines around this one?
> 
> > /src/gcc/gcc-2.95.2/gcc/machmode.h:47: stray '\' in program
> 
> This is very suspect.  Has this GCC source tree ever been on a
> MS-Windows machine?  It looks like it's got carriage-returns before
> line-feeds.  GCC 2.95.2 wouldn't work well in this case.  It's fixed
> in development versions of GCC.
> 
> -- 
> Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist    *Please* write to mailing lists, not to me
> 



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