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

Posix 2.057 Makefile error breaking 64bit build #339

Closed
wants to merge 1 commit into from
Closed

Posix 2.057 Makefile error breaking 64bit build #339

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 1, 2011

The Phobos makefile (posix.mak) does not specify the architecture for building
druntime, which defaults to 32bit even on if Phobos is being compiled for
64bit, the result is a broken lib.

My fixed Makefile passes the MODEL=64 parameter down to druntime's make
process, resulting in nice and working builds on both, 32 and 64bit systems. I
will post it in just a sec.

Happy hacking on 64 bit systems :P

  • Sascha Heylik

…osix 2.057 Makefile error breaking 64bit build
@@ -287,7 +287,7 @@ install : release
sudo cp $(LIB) /usr/lib/

$(DRUNTIME) :
$(MAKE) -C $(DRUNTIME_PATH) -f posix.mak
$(MAKE) -C $(DRUNTIME_PATH) -f posix.mak -m$(MODEL)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Um.. shouldn't that be: MODEL=$(MODEL)?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah.. memory failed, should have used copy paste xD commited the correct version.

@ghost ghost closed this Dec 1, 2011
@ghost ghost reopened this Dec 1, 2011
@ghost ghost closed this Dec 1, 2011
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant