| | legOS & C Alex Howansky
| | | Cygwin B20.1 legOS 0.16 Whenever I try to do a declaration initialization of an array: int thing[] = {0x01,0x02,0x03}; I get a failure on linking: "undefined reference to memcpy" The code compiles and runs fine when compiled for x86. I can always (...) (26 years ago, 3-Feb-99, to lugnet.robotics)
| | | | | | | | Re: legOS & C John A. Tamplin
| | | | | (...) What compiler are you using? I was unable to duplicate this behavior with egcs-1.1 -- for static integer arrays it outputs .word pseudo-ops and for automatic arrays that small it generates inline code to initialize each element. In any case, (...) (26 years ago, 3-Feb-99, to lugnet.robotics)
| | | | | | | | | | | | Re: legOS & C Alex Howansky
| | | | | (...) I'm using Gavin's gcc package from (URL) I actually use a stripped down libc, which includes an implementation of (...) That sounds great -- the string functions would be very nice to have. Do you have a URL for reference, or do I have to (...) (26 years ago, 3-Feb-99, to lugnet.robotics)
| | | | | | |