Drew Wells
Drew Wells
On linux, you can get the windows.h headers for free by using mingw32 compiler ie. `/usr/bin/i586-mingw32msvc-g++`
Nope that works great, I didn't know how to activate mingw thanks! I'm still confused why these headers are being loaded. https://github.com/sass/libsass/blob/master/file.cpp#L20-L22 guards the inclusion of the headers behind these...
Sure can, Ubuntu 14.04 LTS ``` $ qo -x [ 0%] Beginning build gcc libsass-src/cencode.c -c --std=c99 -Wall -Wextra -Wno-unused-parameter -m64 -o .qoobj/libsass-src_cencode.c.o g++ libsass-src/base64vlq.cpp -c --std=c++11 -Wall -Wextra -Wno-unused-parameter...
OS X auto dies with error about clang not supporting cross compilation. ``` -> % qo -os "darwin" [FAIL] LLVM/clang does not come with a Windows resource compiler (if this...
I think it's finding an rc file because qo scrapes the directory recursively. It appears the makefile specifies certain files to compile and other files are loaded conditionally based on...
As an example, these files are passed to g++: https://github.com/sass/libsass/blob/master/Makefile#L114-L153 and these headers are only passed when using MinGW: https://github.com/sass/libsass/blob/master/Makefile#L161-L172
Ahh duh, `go build` conventions! I'll rework the file structure and try again.
Another little caveat with a file.cpp: file.cpp ``` #include ``` Then a file structure like: ``` header.h subdir/file.cpp ``` This is throwing errors with qo, but seems to work fine...
Glad you asked, that's what I've been looking at. https://gist.github.com/drewwells/5819cbba45ac6e0aa626
I moved more files around, then failed on ``` plugins.cpp:(.text+0xd1): undefined reference to `dlopen' plugins.cpp:(.text+0xf1): undefined reference to `dlsym' plugins.cpp:(.text+0x130): undefined reference to `dlsym' plugins.cpp:(.text+0x187): undefined reference to `dlsym' plugins.cpp:(.text+0x1de):...