Conflits With Libc Function

Ernie Nichols een@curtech.curtech.com
Mon Jun 15 07:00:00 GMT 1998


> 
> Hi,
> 
> I'm using Nucleus real-time os for a 68360 processor.  Nucleus
> includes some of the libc function (e.g. malloc, sbrk ...), but
> not all of them are included.  How does one include only the
> libc function that Nucleus does not include?
> 
> Is there a 68360 switch for gcc and gas?  I've been using 68020
> for the processor type.
> 
> I've seen somewhere info on getting an IEEE695 output from ld
> or objdump.  Could somebody point me in the right direction.
> 
> Thanks,
> David
> 
Seems to me that if you place the Nucleus library before the libc lib that you
intend to use, the linker will pull in the right stuff.

For my 68360 usage with gcc I include the 68020 switch and the nobitfields
switch sinc e the CPU32 doesn't support bitfield instructions.

ernie




More information about the crossgcc mailing list