This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin 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]

help my cross-toolchain


cpu: pentium 2
os: cygwin 1.3.20 (winXP pro)
target: mipsel-linux

i successful compiled the binutils (cygwin's binutils-20021117-1) with this
steps:
/configure --prefix=/usr/local --target=mipsel-linux --verbose
make
make install

i compiled gcc (cygwin's gcc-3.2-3) in this manner, due to a couple of probs
./configure --prefix=/usr/local --target=mipsel-linux --verbose --disable-sh
ared --enable-languages=c
make LANGUAGES=c
make install

now i'm testing this mipsel-linux-gcc with a 'yet tested' source code and i
get:
in function 'memscan'
string-asm.h: 146: matching constraints references invalid operand number

extern __inline__ void *memscan(void *__addr, int __c, size_t __size)

    char *__end = (char *)_addr + __size;

    if (!__size)
        return __addr;
    __asm__(".set\tnoreorder\n\t" (<-- row 146)
        ".set\tlbu\t$1,(%0)\n\t"

help me







--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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