You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you just use make -C ./build, you cannot compile if you cannot access /usr as it will still look for files as if those were installed:
$ ./hcc hello_world.HC
ERROR: Failed to open file: /usr/local/include/tos.HH
If there is a compiler option to specify the location of those files, such as ./src/holyc-lib/, the --help option wasn't clear enough for me to figure it out.
The text was updated successfully, but these errors were encountered:
True, but if I don't have root privileges (such as on non-rooted phone), I can't use it. It'd be nice if we could compile it with a prefix like GCC where the default prefix would be /usr/local
I see your point, presently this isn't something I will look into. However later down the line I'll consider it once the build process is generally less prototypey.
With regard to getting this working on a phone, in all likelihood we'd need to be targeting ARM which the compiler does not yet do.
If you just use
make -C ./build
, you cannot compile if you cannot access/usr
as it will still look for files as if those were installed:$ ./hcc hello_world.HC ERROR: Failed to open file: /usr/local/include/tos.HH
If there is a compiler option to specify the location of those files, such as
./src/holyc-lib/
, the--help
option wasn't clear enough for me to figure it out.The text was updated successfully, but these errors were encountered: