[Thread Prev][Thread Next][Thread Index]

compiling prc-tools (especially libc.0.1.2)



I've applied the patches, compiled and installed egcs and binutils.
When I tried to "make" in prc-tools, everything went fine for a while
until it tried to build libc.0.1.2; I got the following:

gcc --target=m68k-palmos-coff -shared -static Libc.S ./libc.a -o Libc
/usr/m68k-palmos-coff/bin/ld: cannot open -lscrt: No such file or
directory
collect2: ld returned 1 exit status
make[1]: *** [libc.sa] Error 1

I created a libscrt.a library by running

/usr/m68k-palmos-coff/bin/ar -curs libscrt.a scrt0.o

but now I'm getting

gcc --target=m68k-palmos-coff -shared -static -L. Libc.S ./libc.a -o Libc
../obj-res -l Libc
File is not an object file
make[1]: *** [libc.sa] Error 2

This message appears to be the result of bfd_check_format returning 0;
at this point I'm out of my depth.  I did configure binutils with
enable-targets=all.  If I do a "file" on Libc, I get

Libc: mc68k COFF object not stripped (demand paged)

Any help would be appreciated...
-- 
Joseph J. Pfeiffer, Jr., Ph.D.       Phone -- (505) 646-1605
Department of Computer Science       FAX   -- (505) 646-1002
New Mexico State University          http://www.cs.nmsu.edu/~pfeiffer
------------------------------------------------------------------------
***********************************************************
*             This is a public mailing list!              *
* Please do not publish Sun proprietary information here! *
*        -  -  -  -  -  -  -  -  -  -  -  -  -  -         *
*             http://www.moshpit.org/pilotmgr             *
***********************************************************


SourceForge.net Logo