[android-porting] Re: What kind of debug output statement is valid in getaddrinfo.c?

2011-05-24 Thread 捷超 王
Anyone knows? On May 20, 5:17 pm, 捷超 王 wrote: > Hi, developers: > > I am currently developing an IPv6 DNS resolver on Android-x86 platform > in socket programming in C so I would like to modify some code in / > home/ubuntu/android-x86/bionic/libc/netbsd/net/getaddrinfo.c". I want > to do debuggin

[android-porting] Re: What kind of debug output statement is valid in getaddrinfo.c?

2011-06-03 Thread 捷超 王
I have add main function to this file and modified the Android.mk to tell the compiler to compile this file to be an executable. That works and now printf can be used. On May 25, 1:15 am, Robert Greenwalt wrote: > searching that file for "log" I find > > syslog(LOG_NOTICE|LOG_AUTH, "mylog %s", "f

Re: [android-porting] Re: What kind of debug output statement is valid in getaddrinfo.c?

2011-05-24 Thread Robert Greenwalt
searching that file for "log" I find syslog(LOG_NOTICE|LOG_AUTH, "mylog %s", "foo"); seems like a reasonable place to start. On Tue, May 24, 2011 at 5:38 AM, 捷超 王 wrote: > Anyone knows? > > On May 20, 5:17 pm, 捷超 王 wrote: > > Hi, developers: > > > > I am currently developing an IPv6 DNS resol