-
Notifications
You must be signed in to change notification settings - Fork 14
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
Updates allowing to improve building on linux. #13
Open
t-w
wants to merge
21
commits into
markusC64:markusC64-v637-branch
Choose a base branch
from
t-w:devel
base: markusC64-v637-branch
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Otherwise, if opencbm is not available - it is not possible to build the program that do not need openpbm. Note that this modification is a quick shortcut, not resolving the problem fully (ie. install rules will not work with not all programs built...). In general, improving configuration options and build dependencies should allow to build things depending what is needed. In particular, the tools that do not require the openpbm driver, should not require it for building.
The RELATIVEPATH suggests that the build was supposed to be executed in LINUX/ directory (maybe producing binaries there), but this is inconsistent with GNU/Makefile (it, basically, does not work that way). Removing it and building things in the main project directory.
…and nibwrite). opencbm is used only by the utilities for data transfer using serial cable. Other utilities do not need it.
This reverts commit 5e83f3a. fileio needs prototype of usage (an external defined in the main module of each utility).
Make extern things already defined in read.c
usleep() is a POSIX function, not provided by c99. Proper source type must be set to build.
To update/set by user.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Main changes:
opencbm
(nibconv
,nibrepair
,nibscan
)opencbm
is not required (where not needed/used)opencbm
can be set inLINUX/Makefile
makefile
where the build env. can be selected (then justmake
/make clean
etc.)Other notes:
I am not sure where to open a PR, if this is not the right branch let me know where (if you want to merge it).
Note that these changes are tested (briefly) only on Debian Linux. The changes are not big so should not make much trouble, but I cannot guarantee that eg. on DJGPP something unexpected won't happen, so...