tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy's Mail list address" <>
Subject Re: [Tomcat 4.0] SOLARIS-isms and other problems in native code
Date Tue, 28 Nov 2000 12:30:13 GMT
On line use uname -m.  This only gives you the "processor architecture"
(i386, i586, i686).  -p returns unknown on my
machines, which I don't think is splendid, but I think I can guess
why its that way.  In my laptop I've got an AMD of some sort, in my
desktops I've got varying Pentiums (pentii?...I forget my latin declensions,
and still think Intel should grow some nads and name
the next processor will only be big news in America
somehow I suppose its probably difficult to map all the confusing
id names to human readable names..

A quick read of


seems to confirm this.  I don't read much that would work on AMD or


-----Original Message-----
From: Pier P. Fumagalli <>
To: <>
Date: Monday, November 27, 2000 10:42 PM
Subject: Re: [Tomcat 4.0] SOLARIS-isms and other problems in native code

>Craig R. McClanahan <> wrote:
>> I'm trying to build the new native code stuff on my Linux box, and am
>> into the following SOLARIS-specific issues:
>> service/src/native/jsvc.h
>> - The header file <sys/systeminfo.h> is SOLARIS specific
>> service/src/native/jsvc_unix.c
>> - The sysinfo() system call, defined in <sys/systeminfo.h>
>> is SOLARIS specific
>Hmmm... Freak... I need sysinfo() to get the processor information. The VM
>library is linked at run-time using dl*() function, and it resides in
>Now, I need to resolve the [processor] name, and under Solaris the sysinfo
>call returns me that. Is there a way to find it out under Linux? I've also
>seen that the behaviour of "uname -p" (wich is the one that under Solaris
>returns i386/sparc) doesn't work under Linux (returns "unknown")... Is
>a way in wich I can possibly know what processor that machine is running in
>a portable way? Or do I have to start #ifdef ing???
>> connectors/src/
>> - No Makefile that copies Makedefs.orig to Makedefs
>> connectors/src/webapplib/
>> - I can build the library, but what do I do with it?
>> connectors/src/apache-1.3/
>> - How do I install and configure this connector in Apache?
>> (Among other things, it looks like it'll need access to the
>> "wa.h" header file at compile time, and the library
>> at runtime.)
>Ok... I'll take a look at the makefiles (I spent yesterday night trying to
>figure out a decent way to build sources, but... More on this later).
>The "webapplib" directory contains the actual "module" for an abstract web
>server. In the apache 1.3 directory there is just an adaptor between the
>webapp library and the web server... I'm writing some documentation on how
>that whole thing works...
>    Pier
>Pier P. Fumagalli  Apache Software Foundation
>Neque porro quisquam est qui dolorem ipsum quia dolor sit amet,
>adipisci velit...                             (Cicero: "De Finibus"

Do You Yahoo!?
Get your free address at

View raw message