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]

perhaps linker or library problem..?


hi
 
i tried to build the cross gcc which host is i686-pc-linux-gnu and target is decstation-ultrix
i installed binutils-2.10.1, gcc-2.95.2 with the option --with-header=../newlib-1.9.0/newlib/libc/include ,
i failed to compile gcc several times, but succeed after all
when i tested whether cross gcc worked correctly like below , an error messgae comes
 
>/usr/local/bin/decstation-ultrix-gcc test.c     (test.c includes only stdio.h header file)
 
the result error message is
 
/usr/local/bin/decstation-ultrix-ld : ld can't find -lc
 
i found libgcc.a file in the lib directory but i can't find libc.a for the cross gcc
what's wrong?
plz help..
 
 

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