This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: newlib build error + can I use c-only build to compile a simple c code?


I build newlib1.9.0 (also 1.8.2) under cygwin(win98) OK.
But I build for m68k-coff,
I have no idea about v850!
 
----- Original Message -----
Sent: Friday, April 20, 2001 3:09 PM
Subject: newlib build error + can I use c-only build to compile a simple c code?

Hi folks!
 
What's this?
 
make[2]: Leaving directory `/usr/local/src/gnu/BUILD/newlib/v850/newlib'
Making all in libc
make[2]: Entering directory `/usr/local/src/gnu/BUILD/newlib/v850/newlib/libc'
Making all in stdlib
make[3]: Entering directory `/usr/local/src/gnu/BUILD/newlib/v850/newlib/libc/stdlib'
v850-gcc -B/usr/local/src/gnu/BUILD/newlib/v850/newlib/ -isystem /usr/local/src/gnu/BUILD/newlib/v850/newlib/targ-include -isystem /usr/local/src/gnu/newlib-1.9.0/newlib/libc/include -DPACKAGE=\"newlib\" -DVERSION=\"1.9.0\"  -I. -I/usr/local/src/gnu/newlib-1.9.0/newlib/libc/stdlib  -O2 -DPREFER_SIZE_OVER_SPEED -mv850 -mno-app-regs -msmall-sld -I../../targ-include -I/usr/local/src/gnu/newlib-1.9.0/newlib/libc/../libc/include -fno-builtin      -g -O2 -c /usr/local/src/gnu/newlib-1.9.0/newlib/libc/stdlib/__adjust.c
cc1.exe: Invalid option `no-app-regs'
cc1.exe: Invalid option `small-sld'
v850-gcc: file path prefix `/usr/local/src/gnu/BUILD/newlib/v850/newlib/' never used
make[3]: *** [__adjust.o] Error 1
make[3]: Leaving directory `/usr/local/src/gnu/BUILD/newlib/v850/newlib/libc/stdlib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/gnu/BUILD/newlib/v850/newlib/libc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gnu/BUILD/newlib/v850/newlib'
make: *** [all-target-newlib] Error 2
 
And why if I use the c-only build of gcc on
 
int main()
{
    int a,b,c;
    a = 10;
    b = a + 1;
    c = a + b;
    return c;
}
 
I get
 
$ v850-gcc f.c
/usr/local/v850/lib/gcc-lib/v850/2.95.2-6/../../../../v850/bin/ld: cannot open crt0.o: No such file or directory
collect2: ld returned 1 exit status
 
although I get no error on c-only installation.
 
Thnx,
Cristian A.

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