Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Compiling Section of WDD for using GCC for 64-bit drivers #72

Open
sdimitro opened this issue Jan 21, 2015 · 0 comments
Open

Update Compiling Section of WDD for using GCC for 64-bit drivers #72

sdimitro opened this issue Jan 21, 2015 · 0 comments

Comments

@sdimitro
Copy link

At Chapter 21 of WDD (http://illumos.org/books/wdd/loading-15035.html)
there are general direction on how to compile for 64-bit using Sun Studio.

If someone wants to compile for 64-bit x86 with gcc can do so with the -m64 and -mcmodel=kernel flags.
Example:
gcc -D_KERNEL -m64 -mcmodel=kernel -c xx1.c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant