Comments (3)
Hi Andre,
Thank you for such a warm words.
I want to replace the executables to another location on my disk.
You could put whole winflexbison folder in any place you want. If you add path to winflexbison folder to PATH environment variable you will be able to run win_flex or win_bison executables from any place in the system
What can I do with the skeleton (and other) files?
Is there a presumed structure or can I put it all in one directory?
You could place bison's data
subfolder in a different place, just set env var BISON_PKGDATADIR to point to this folder.
Can I mix the two? (Most likely not) Any advise on how to keep them both available but separated? The difference in executable names should be enough to select the correct version.
I guess different executable names flex vs win_flex and bison vs win_bison should be enough to separate these tools.
Best regards,
Alex
from winflexbison.
Hi ALex,
Thanks for the quick reply.
Your answer is is good and complete enough to close this item.
Moving all files to another location is what I did (and it works), after I had written my message.
But I have a feeling that not all files are required, such as changelog.md
and data/local.mk
for instance.
On deployment locations I don't like to see items that are required for a build but that is just my opinion.
The file FlexLexer.h
makes it risky (in my opinion) to combine WinFlexBison with existing GnuWin32 locations.
The original Flex uses a file with the same name (in .../GnuWin32/include
) and it might clash with that one.
In any way, it is confusing to users. Which file is (or should be) used by which version of Flex?
Even if the two (the GnuWin32 version and the WinFlex version) are identical it is not a smart move to combine the executables in one location. Later in time there might be a difference, (however unlikely now).
Good to know that there is an environment variable for locating the data
subfolder.
I had a quick browse through the source code but did not see that one.
Maybe, if you can find some spare time, you can mention some of the details in changelog.md
or in a separate readme.md
Kind regards,
Andre.
from winflexbison.
As a footnote, I'll note that win_bison sometimes cannot find its data directory if win_bison is invoked via a symlink. I say sometimes, because it doesn't work when invoked via VS but does work when invoked from a cygwin command line (and works via either windows soft links or via cygwin soft links).
from winflexbison.
Related Issues (20)
- Bison-3.7.2 HOT 2
- v2.5.23 not working on Windows XP HOT 25
- Can not fix file via --update HOT 16
- Crash on invalid input HOT 6
- Visual Studio - win_bison creates tab.h file exceeding compiler limits HOT 8
- Update to bison 3.7.4 HOT 10
- Trouble compiling a *.l file using CMake HOT 7
- %option c++ is not compatible with %option noyywrap - linker error: multiple definition HOT 5
- Loss of data conversion in Flex scanner. HOT 5
- Update to Bison 3.8.1 HOT 11
- Missing LICENSE/COPYING file in repository toplevel HOT 6
- Cannot compile Bison input in C++ mode HOT 2
- Visual Studio dependencies and the provided CustomBuildRules HOT 3
- Could this project build with gcc HOT 2
- Runtime error when running multiple flex processes HOT 19
- D language support fixes reported upstream
- Using api.prefix{ ... } breaks yyerror()
- Chocolatey for 2.5.25 (Bison 3.8) HOT 1
- BSD license and GPL license missing from the binary package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winflexbison.