Ticket #38274

Standardized build system

Open Date: 2018-05-19 21:57 Last Update: 2018-05-20 21:27

Reporter:
(Anonymous)
Owner:
Status:
Open [Owner assigned]
Component:
MileStone:
(None)
Priority:
3
Severity:
3
Resolution:
None
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

Hello, I am wondering if you would be willing to replace the non-standard autoconf-like build system with autoconf, this would make cross-compilation work, along with being able to build for any system autoconf supports

Attachment File List

No attachments

Ticket History (3/3 Histories)

2018-05-19 21:57 Updated by: None
  • New Ticket "Standardized build system" created
2018-05-20 12:23 Updated by: magicant
  • Component Update from shell-main to utils
  • Severity Update from 5 - Medium to 3
  • Priority Update from 5 - Medium to 3
Comment

Yash's build system is already compatible with any POSIX.1-2001 environment.

Scripts generated by autotools depend on non-standard features in attempt to support non-POSIX environments. That is not a goal of yash.

To support cross compiling, we need to auto-generate a header file based on the signal numbers on the host environment (which may be different from that on the build environment) by running a generator program on the host. I don't suppose it is as easy as just introducing autotools support.

2018-05-20 21:27 Updated by: None
Comment

Well, the generated bits can be solved by having an option to specify a pre-generated header (from the target) or "hope for the best" and use the host's generated header

Of course I understand the goal of yash isn't to support non-POSIX environments, but, if it works on a (new) system, it works.

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login