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

Avoid using absolute pathnames in Makefile. NFC #400

Merged
merged 1 commit into from
Mar 2, 2023
Merged

Conversation

sbc100
Copy link
Member

@sbc100 sbc100 commented Mar 1, 2023

This makes the output of the build a lot more concise and easy to read.

The only real change here is to build each of the crt1 startup files individually instead to trying to build them all in a single clang invocation (that latter doesn't allow for -o to be specified which is a pretty severe limitation, so its best avoided anyway).

It also reduces the size of the ar command line for libc itself from 78017 to 43609 (on my machine), which sadly is still tool long for win32 I believe.

@sbc100 sbc100 force-pushed the shorten_pathnames branch from 792fe6a to 0f610fb Compare March 1, 2023 18:17
@sbc100 sbc100 requested review from sunfishcode and penzn March 1, 2023 18:18
This makes the output of the build a lot more concise and easy to read.

The only real change here is to build each of the crt1 startup files
individually instead to trying to build them all in a single clang
invocation (that latter doesn't allow for -o to be specified which is
a pretty severe limitation, so its best avoided anyway).

It also reduces the size of the `ar` command line for libc itself from
78017 to 43609 (on my machine), which sadly is still tool long for win32
I believe.
@sbc100 sbc100 force-pushed the shorten_pathnames branch from 0f610fb to b3db1fb Compare March 2, 2023 00:56
@sbc100 sbc100 merged commit 7069071 into main Mar 2, 2023
@sbc100 sbc100 deleted the shorten_pathnames branch March 2, 2023 01:14
john-sharratt pushed a commit to john-sharratt/wasix-libc that referenced this pull request Mar 6, 2023
This makes the output of the build a lot more concise and easy to read.

The only real change here is to build each of the crt1 startup files
individually instead to trying to build them all in a single clang
invocation (that latter doesn't allow for -o to be specified which is
a pretty severe limitation, so its best avoided anyway).

It also reduces the size of the `ar` command line for libc itself from
78017 to 43609 (on my machine), which sadly is still tool long for win32
I believe.
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.

None yet

2 participants