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]

newlib and the use of fcntl by java


Hmm, it appears that java is making use of the fcntl function in newlib 
(or at least, it is trying to).  This is a problem, since most embedded 
targets don't provide this function.  The function fcntl always exists in 
newlib's libc.a, but on most targets it will call a non-existent function 
_fcntl which causes a link error.

I think there are two problems that need to be fixed here:

1) newlib shouldn't provide fcntl on configurations where _fcntl doesn't 
exist.

2) Java needs to cope with the absence of this function.

R.


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