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

Fixed singleFile build mode issues #505

Merged
merged 2 commits into from
Feb 12, 2015

Conversation

machindertech
Copy link
Contributor

  • Fixed error with long command line when invoking the linker on Windows
  • Fixed issue where singleFile build mode builds each file as a static library instead of as an object file
  • Fixed object file naming on Windows


static string pathToObjName(string path)
{
return std.path.stripDrive(std.path.buildNormalizedPath(getcwd(), path~objSuffix))[1..$].replace(std.path.dirSeparator, ".");
Copy link
Member

Choose a reason for hiding this comment

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

Good catch.

+ Fixed error with long command line when invoking the linker
+ Fixed object file naming
…ct files in singleFile build mode

+ Added object TargetType that is used during singleFile build mode
@machindertech
Copy link
Contributor Author

Thank you for the feedback! We've made changes to how object files are handled in the build settings based on the comments by MartinNowak.

MartinNowak added a commit that referenced this pull request Feb 12, 2015
@MartinNowak MartinNowak merged commit 83b2926 into dlang:master Feb 12, 2015
@machindertech machindertech deleted the singleFileFixes branch February 17, 2015 17:06
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.

3 participants