This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

undefined sbrk in libnosys


i have two cygwin systems.  one is powerpc-eabi-gcc 3.3.1 with newlib 1.11 and the other is powerpc-eabi-gcc
3.4.0 with newlib 1.12

On the 1.11 system, my application compiles fine.  However, on the 1.12 system I get a linker error because
sbrk is undefined.  Both use the same makefile and linker script.

nm shows sbrk in libnosys in the 1.11 version but it shows _sbrk in the 1.12 system.  Is that _ the reason for
the linker error?  Did I do something wrong when I built newlib?

thanks,
marc


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