[uClibc]uClibc Basic Questions, on uCsimm

Larry Gray larry at greenmotor.com
Tue Aug 14 16:05:02 UTC 2001


Hello,
	I'm still having problems, so I decided to start from scratch. I'm using 
uClinux 2.0.38.1Pre5 on an uCsimm module. I've reinstalled everything from 
the Lineo CD, with the following exceptions; didn't install uc-libc or 
uc-libm, both should be replaced with uClibc, correct? I also installed 
m68k-pic32-coff-gcc-2.7.2.3-2.i386.rpm in place of 
m68k-pic-coff-gcc-2.7.2.3-1.i386.rpm to correct the 32k limitation.
	I downloaded the latest snapshot of uClibc (actually its now two days old), 
and tried several options in the Config file, which leads to my questions.

1. I would like to keep using the existing m68k-pic-coff-gcc, so I need to 
compile uClibc with CROSS = m68k-pic-coff-, correct?

2. Since I want PIC I should set DOPIC = true, correct?

3. I'm confused about the directory structure. Since I want to use 
m68k-pic-coff, shouldn't DEVEL_PREFIX be set to this? Also, since I want only 
standalone executables, I shouldn't need to install the target runtime 
environment?

With the settings above, the uClibc compile fails in __assert.c with:

/tmp/ccmJFfUQ.s: Assembler messages:
/tmp/ccmJFfUQ.s:9: Error: parse error -- statement `bsr strlen at PLTPC' ignored

	plus many more parse errors

What am I doing wrong?

Thanks,
Larry Gray
larry at greenmotor.com





More information about the uClibc mailing list