-
Notifications
You must be signed in to change notification settings - Fork 25
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
[Minor issue] AMD64_CYGWIN problem - no hyphen allowed in folder names or OS variables #1071
Comments
It is minor issue because:
https://github.com/VictorMiasnikov/cm3/releases/tag/d5.11.9-ZZYYXX-20220208_13-48 |
(...) |
1 similar comment
(...) |
We have info about a problem: {{{
Very disappointed. }}}
It seems there is no hyphen allowed in variable names. This is the reason we have the errors above. Update: or is it a typo? What does the 'a' in 'libm3unit-numeric_a_SOURCES' means? }}} |
(...) |
2 similar comments
(...) |
(...) |
Who can reproduce a problem? |
You? Do you have Cygwin? Just try it and see. The bootstrap is fine but the compilation of the cloned repo (this repo) with boot2.py failed with this error. CM3 is not popular and Cygwin too. No one will do other than us (other than you to be clear). |
(...) This is draft specially typed by V.V.M. |
(...) This is draft N2 specially typed by V.V.M. |
(...) This is draft N3 specially typed by V.V.M. |
Of course, I can rename my folder "cm3" to folder "cm-3" Or to "c-m3" Or to "c--m3". But we should solve error. I am not sure than it is simple job |
P.S. Oh: AMD64_CYGWIN is one of targets for "cm3 with Autotools" method (?). It is first target, but it will be "not last target". |
Makefiles are generated by the Python scripts? Are your Python scripts stupid? I don't see the relation here. Not because the source directory has a hyphen in name then it will add a hyphen to the makefile variable name. If it does so, then it's stupid. Let's recall. It's 'libm3unit-numeric_a_SOURCES' isn't it? The hyphen is between 'libm3unit' and 'numeric'. In short the library is called 'libm3unit-numeric'. So it has nothing to do with the source directory has a hyphen in name or not. Just it. |
People do not use git to clone (suppose they are not on their home computer and can't install git bash or msys2), will use github's feature to download entire repo as zip. The zip downloaded will have the name '[repo]-master.zip'. Let's assume his Python scripts are stupid, then just tell them to rename it to something doesn't have the hyphen. BTW, @jpgpng 's directory structure: cm3-dist (the bootstrap), cm3-build (the build directory to build bootstrap), cm3-install (where he installs cm3) and cm3-master (the cloned repo via downloading zip) is very likely to cause problems because of these stupid Python scripts. Let's just tell him to rename his directories to sth like cm3_dist, cm3_build, cm3_install and cm3_master. If those Python scripts are too stupid then just cm3dist, cm3build, cm3install and cm3master. |
Not to mention that this hyphen not allowed in source directory name nonsense. If someone has a look at the cm3 source tree he will see directories here all have a bunch of hyphens in their names! |
To be clear. It's hyphen not allowed in makefile's variable names. It's his Python scripts that problematic and need to fix, not the hyphen in the source directory name. |
10.09.2022, 01:52, "pwd96m4a" ***@***.***>:
Not to mention that this hyphen not allowed in source directory nonsense. If someone has a look at the cm3 source tree he will see directories here all have a bunch of hyphens in their names!
In short: I don't know ( It is answer on all 3-4 last messages in this Issue). Maybe don't know now. May be I will try reproduce this.
|
10.09.2022, 01:50, "pwd96m4a" ***@***.***>:
People do not use git to clone (suppose they are not on their home computer and can't install git bash or msys2), will use github's feature to download entire repo as zip. The zip downloaded will have the name '[repo]-master.zip'. Let's assume his Python scripts are stupid, then just tell them to rename it to something doesn't have the hyphen. BTW, @jpgpng 's directory structure: cm3-dist (the bootstrap), cm3-build (the build directory to build bootstrap), cm3-install (where he installs cm3) and cm3-master (the cloned repo via downloading zip) is very likely to cause problems because of these stupid Python scripts. Let's just tell him to rename his directories to sth like cm3_dist, cm3_build, cm3_install and cm3_master. If those Python scripts are too stupid then just cm3dist, cm3build, cm3install and cm3master.
May be it is solution...
P.S. I don't known only how reproduce "unsuccess".
Because we have successfully built and worked cm3-all-AMD64_CYGWIN*.
This binary distributive has been published in "Releases" on Github. All people can download it and use.
|
@pwd96m4a If it's only because my directories have a hyphen in their names and autotools based build system failed then I was right to say cmake based build system is superior 😄 The cmake based build system worked perfectly fine for me 😄 |
@VictorMiasnikov It's right to stop investing on Cygwin related build issues. If you think everything is working fine then you could close this issue and forget about Cygwin, it has haunted us for weeks 😄 |
} cmake based build system
It doesn't exist. Only script for bootstrapping.
( "autotools based build system" is exist.
If fact, in case AMD64_CYGWIN target autotools used and when used "cmake .py" script for bootstrapping)
…10.09.2022, 12:02, "jpgpng" ***@***.***>:
@pwd96m4a If it's only because my directories have a hyphen in their names and autotools based build system failed then I was right to say cmake based build system is superior 😄 The cmake based build system worked perfectly fine for me 😄
|
} It's right to stop investing on Cygwin related build issues. If you think everything is working fine
I even known better way for creating problems: using "space" ( N32) in folders name(s) -)
About "stopping" itself: we ( ok: as minimum, personal "I") have successfully bootstrapped cm3 AMD64_CYGWIN.
Both cm3.exe and based (?) libraries ( m3lib and m3core).
We can do next steps.
I want continue testing current state LLVM13 binding and (or) m3gdb. I.e. advanced debugging of Modula-3 source code based software.
…10.09.2022, 12:04, "jpgpng" ***@***.***>:
@VictorMiasnikov It's right to stop investing on Cygwin related build issues. If you think everything is working fine then you could close this issue and forget about Cygwin, it has haunted us for weeks 😄
|
@VictorMiasnikov So we agreed to just close this issue. I'm totally agree with you that LLVM backend and m3gdb are more important 😄 |
Let's stay our "minor Issue" open...
I going to open series of "minor issues" liked this.
… 10.09.2022, 21:34, "jpgpng" ***@***.***>:
@VictorMiasnikov So we agreed to just close this issue. I'm totally agree with you that LLVM backend and m3gdb are more important 😄
|
So he's going to pollute the issues section of this repo with his cryptic titled ones that no one want to look at other than him... |
Todo: add more details in this first post
AMD64_CYGWIN problem - no hyphen allowed in folder names or OS variables
The text was updated successfully, but these errors were encountered: