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: perhaps linker or library problem..?



It sounds like you didn't install the c library.  If you have the
headers and libs from the decstation that would probably work
much better than using newlib.  Newlib is designed for memory
constrained systems.

If you don't have the ultrix libs then you can build newlib.
Since you have already built binutils and gcc, the next thing
is to build and install newlib.

Noah.

On 2 Mar 2001, at 10:16, ¹Ú¿µÈÆ wrote:

> 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..
>
>



------------------------------------------
Noah Aklilu
http://www.ee.ualberta.ca/~aklilu/
naklilu@ualberta.ca

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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