Hi,
   In order to  track the SDCC source code by using GDB, thus I want to
recompile the SDCC source code without optimization.
   There comes the question,when I make the source with the command:make
CFLAGS='-g -gstabs',the terminal print out some uncertain errors,such as
          ../../../sdcc/debugger/mcs51/simi.c: In function ‘openSimulator’:
          ../../../sdcc/debugger/mcs51/simi.c:382: error: ‘FNONBLOCK’
undeclared (first use in this function)
          ../../../sdcc/debugger/mcs51/simi.c:382: error: (Each undeclared
identifier is reported only once
         ../../../sdcc/debugger/mcs51/simi.c:382: error: for each function
it appears in.)

          In file included from
../../../sdcc/support/cpp/libcpp/include/symtab.h:25,
                                from
../../../sdcc/support/cpp/libcpp/include/cpplib.h:28,
                                from ../../../sdcc/support/cpp/sdcpp.h:162,
                                from ../../../sdcc/support/cpp/system.h:848,
                                from ../../../sdcc/support/cpp/sdcpp.c:26:

../../../sdcc/support/cpp/libiberty/obstack.h:153:40: error: attempt to use
poisoned "bcopy"
    I test the command:make CFLAGS,it work fine.
    I just want to track the source code.
    solutions?
Thanks
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to