Comments (6)
Ah well I now have a very rudimentary understanding of Tup and this error is simply saying that we haven't yet made a config/macosx file for Tup to read.
from unbox.
That's right, we need to make a config/macosx file. I imagine it should be very similar to the linux file. If you want to try it out, copy the linux file, then I can help you fix any issues if you paste the output here.
from unbox.
Maybe making progress, not sure yet.
Merely changing the *.so
into *.dylib
is not sufficient to produce a working executable on OSX.
One issue I noticed so far:
In the file hostdefs.sym
the line <pcreposix.h>
should be "pcreposix.h"
because it's a local include. This requires a change to sym2ijs.ijs
because it's currently only looking for header files wrapped in angle brackets <likethis.h>
.
I'll give it a go tomorrow if I have time.
from unbox.
I had the same problem with the sym2ijs script. Instead of changing it, I just added -an I option to gcc to tell it to search for headers in that directory. Maybe it's not being picked up properly or is more strict on Mac. Which compiler are you using?
from unbox.
I have both clang and gcc on that system so I'm not 100% sure, but the Tupfile tests for the presence of clang first so probably clang. Will test tomorrow.
from unbox.
Actually, after looking again I see that I did not add -Isrc/libj/defs to the compile command. I don't know why it works in Linux but the OSX compiler probably treats it differently than gcc on Linux. Try this when you get a chance: change this
: foreach $(defdir)/*.c |> ^ CC %f^ $(CC) %f -o %o |> bin/%B {defs}
to:
: foreach $(defdir)/*.c |> ^ CC %f^ $(CC) -Isrc/libj/defs %f -o %o |> bin/%B {defs}
from unbox.
Related Issues (12)
- Segfault under complicated conditions HOT 2
- Bug in linear representation parenthesis parsing
- Segfault on infinite recursion
- E. fails on integer input containing _1 HOT 3
- Segmentation fault on some gerund arguments to ^: HOT 1
- Build fails on ARM HOT 4
- Failing test on OSX HOT 27
- Inconsistent behavior of ~. and special code failure
- Build fails on windows 7 64-bit, building for 64-bit HOT 2
- Better integration HOT 6
- Antiderivative fails HOT 1
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 unbox.