[Removed intel-platform-dev from cc-list; didn't appear to be necessary.] prakash bedge writes: > 1. What special care should be taken while porting from linux to > solaris-x86?
It depends on the application, the language you're using, and the libraries and drivers on which you're dependent. You'll need to give more details to get better answers. In general, most applications port over with little trouble. Solaris is different though, and (for example) uses a standards-compliant 'libc' rather than GNU's glibc. Kernel bits are quite a bit more difficult to port, as the internals of Solaris are not like the internals of Linux. > 2. How to handle the Endian methods(LE/BE) in solaris? Same as any other UNIX or Unix-like system -- for C, use htonl, htons, ntohl, ntohs, swab. For other languages, consult the reference manual for the language you're using. > 3. Is there any tool which converts the source code on linux to solaris > compatible code? In what language? I don't think the question makes sense. There may be some commercially available tools that help with source analysis for the purpose of writing portable applications, but "converting" source code from Linux to Solaris doesn't sound to me like a viable approach. In general, though, *well-written* applications simply need a recompile to run on a different system, not "conversion." -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
