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
Hello world milestion for clang toolchain #14
Comments
Yes, libc++ is not ready now. There's still plenty of work including libc upgrading. |
Libc upgrading is roughly done. Wish libc++ to be done soon. |
Any progress with libc++? |
I think it will be done very soon. I can upload the files if you'd like to try it.Oh, I am a little over-optimistic. So let code in first. |
Hi. Just tested commit e6b4dfe. I'm getting a few errors. First one occurs while building stdlibs target:
which can be fixed obviously. The second occurs while building as3wig target and seems to be more complex:
It seems that despite we should use libc++, gcc 4.2 headers are somehow getting into compilation which is obviously incorrect. Looking forward for your response. |
Hi. Just tested commit 37b738b. I've changed my main.cpp to:
It compiled fine using command line:
It's already a good milestone :) But generated swf crashes on startup. Here is what I have in my flashlog.txt:
|
Thanks. Known issue. |
A minor fix is uploaded. Hope it works all the time. |
What toolchain/OS combo do you use guys to get the futures branch "working" ? |
@rtissera Mac OS X Lion 10.7.5 (11G63b) + Xcode Version 4.6.3 (4H1503). |
Hi. Recent commits to futures branch made it workable for simple test programs that use C++11 features. So I decided to test our project. I'm getting a lot of weird link time errors:
Do you have any idea what can be causing these errors? |
It's better for me :) _powl Seems missing from libc.a :( 2013/10/17 Alexey notifications@github.com
|
@stopiccot Did you use the file made by previous version of LLVM? |
@rtissera |
Not using openat neither fstatat directly in my code, it seems to be called by some underneath library or API hidden by Crossbridge. Using ZipBackingStore VFS btw, maybe the source of the issue ? |
@cbakgly Yes, you are right. There were some mess with libs compiled by master branch version of crossbridge. I've tried to recompile dependencies (https://github.com/alexmac/alcextra) using newer crossbridge:
|
I've also compiled our project once again (but with libSDL_mixer disabled). This time it compiled and linked successfully. But when I try to run it using Flash Player Debugger 11.2.202.228 it fails on printf() call:
I have no idea why it is happening because simple test programs (int main() with just one printf()) wok fine for me. Any ideas what can be causing this issue? |
@stopiccot |
@rtissera Hmm, maybe you are right. Does Crossbridge has a ZipBackingStore? |
ZipBackingStore is a custom alcextra class based on InMemoryBackingStore 2013/10/21 Ye Liu notifications@github.com
|
Oh yes, but guess he won't update anymore :( |
If anyone wants commit access to the various alc* repos on my github page just send me a pull request, having a futures branch for each of them would be great but I probably won't have time to keep them up to date myself |
Simple hello world application
Compilation
The text was updated successfully, but these errors were encountered: