One other note, to a very large degree, the only difference for 32 vs 64 bit compiles is the flags you need for compilation and linking. If you are writing a device driver for a device capable of 64-bit addressing, there might be some slight changes wrt to dma attributes for 64 bit code, but outside of a few possible exceptions, generally not a lot of changes are needed (for example, most of the network drivers don't have any special code for compiling a 64-bit driver).
On Mon, Jan 18, 2010 at 5:26 PM, Erik Trimble <[email protected]> wrote: > Mark Maule wrote: >> >> Agreed - we plan on using documented interfaces. >> >> I'll puruse the driver tutorial and writer documents. My main issue at >> the moment is the specifics of getting things compiled and linked for i386 >> 32/64. If that is addressed in the documents, then I should have what I >> need. >> >> Thanks for the responses. >> >> Mark >> >> > > One other thing - I'd recommend using the Sun Studio compilers, rather than > GCC. The SS compilers are available for free on both SPARC and x86/x64. > http://developers.sun.com/sunstudio/downloads/opensolaris/index.jsp > > -- > Erik Trimble > Java System Support > Mailstop: usca22-123 > Phone: x17195 > Santa Clara, CA > > _______________________________________________ opensolaris-discuss mailing list [email protected]
