00:07:43
| * oiig_ | quit (Ping timeout: 240 seconds) |
00:38:33
| * oiig_ | joined |
01:02:32
| * C-Man | quit (Quit: Connection reset by beer) |
01:22:43
| * Licenser | quit (Ping timeout: 240 seconds) |
01:23:57
| * joshthecoder | quit (Quit: Leaving...) |
01:24:17
| * Licenser | joined |
01:27:49
| * eoh | quit (Read error: Connection reset by peer) |
01:28:07
| * eoh | joined |
02:11:20
| * sfix | joined |
02:20:36
| * joshthecoder | joined |
02:28:08
| * TooTallNate | quit (Quit: Linkinus - http://linkinus.com) |
02:57:26
| * sfix | quit (Quit: Leaving) |
03:31:23
| * isaacs | quit (Remote host closed the connection) |
03:32:13
| * isaacs | joined |
03:52:17
| * bnoordhuis | quit (Read error: Operation timed out) |
04:46:15
| * isaacs | quit (Ping timeout: 260 seconds) |
04:50:31
| * joaojeronimo | joined |
04:59:48
| * isaacs | joined |
05:33:56
| * oiig | joined |
05:36:28
| * oiig_ | quit (Ping timeout: 245 seconds) |
05:42:57
| * isaacs | quit (Remote host closed the connection) |
05:48:03
| * stalled | quit (Ping timeout: 244 seconds) |
06:04:00
| * stalled | joined |
06:37:23
| * rendar | joined |
06:57:55
| * joshthecoder | quit (Quit: Linkinus - http://linkinus.com) |
07:00:05
| * stalled | quit (Ping timeout: 260 seconds) |
07:06:10
| * mraleph | joined |
07:06:27
| * mraleph | quit (Remote host closed the connection) |
07:08:00
| * stalled | joined |
08:18:13
| * saurik | quit (Ping timeout: 240 seconds) |
08:19:21
| * saurik | joined |
08:46:32
| * C-Man | joined |
09:47:51
| * decoder_ | joined |
09:54:40
| * joaojeronimo | quit (*.net *.split) |
09:54:40
| * decoder | quit (*.net *.split) |
11:26:08
| * fdmanana | joined |
11:35:56
| * joaojeronimo | joined |
12:40:49
| * TheJH | joined |
12:56:33
| * bnoordhuis | joined |
13:16:30
| <dmilith> | is there any way to pass to v8 build via scons ? |
13:16:39
| <dmilith> | i need to pass custom LDFLAGS |
13:16:54
| <dmilith> | I'm doing: scons -j2 arch=x64 mode=release snapshot=off library=shared debuggersupport=off werror=no strictaliasing=off |
13:18:02
| <Licenser> | dmilith yes one second I did it up - had to do the same :( |
13:18:24
| <dmilith> | Licenser: I would be grateful |
13:18:31
| <Licenser> | https://github.com/Licenser/erlv8/blob/master/Makefile <- there pretty much that |
13:18:54
| <Licenser> | you can pass it LINKER="/usr/bin/gcc -your-funky-flag" |
13:24:47
| <bnoordhuis> | shouldn't that be LINKFLAGS="-foo -bar"? |
13:25:07
| <Licenser> | does scons honor that? |
13:25:07
| <bnoordhuis> | honestly though, gyp > scons |
13:25:20
| <Licenser> | the trouble with gyp > troubpe with scons |
13:25:56
| <Licenser> | I could not get it to build with gyp not on OS X nor on Solaris |
13:26:11
| <bnoordhuis> | odd. it works fine for me |
13:26:17
| <bnoordhuis> | builds faster too |
13:26:40
| <Licenser> | tried to build it two days before just giving up |
13:27:17
| <Licenser> | it died with the 64bit assembly tests I think |
13:29:21
| <dmilith> | yhh |
13:29:38
| <dmilith> | have google heard about CFLAGS / LDFLAGS? |
13:29:39
| <dmilith> | ;f |
13:29:43
| <dmilith> | how about standards? |
13:29:50
| <dmilith> | Licenser: I give it a try. |
13:31:18
| <bnoordhuis> | dmilith: that's why gyp > scons, it honors CFLAGS and LDFLAGS :) |
13:31:35
| <dmilith> | gyp wont work on fbsd. period |
13:32:15
| <bnoordhuis> | actually... i submitted some patches to gyp that make it work on freebsd and solaris |
13:32:20
| <bnoordhuis> | that's months ago now |
13:32:39
| <bnoordhuis> | you'll need to use gmake though |
13:33:07
| <dmilith> | yea.. gmake on fbsd is a piece of crap.. |
13:33:19
| <dmilith> | and it just pisses on my make settings |
13:33:41
| <dmilith> | I rather would like to know how to pass those switches to scons instead of hacking things |
13:33:49
| <bnoordhuis> | hah, i feel the same way about bsd make :) |
13:44:55
| <dmilith> | no matter what I set.. |
13:45:08
| <dmilith> | it still don't set -L/my/custom/path |
13:47:14
| <dmilith> | the funniest thing is that -I is passed correctly |
13:47:20
| <dmilith> | through compilation |
13:50:28
| <dmilith> | yea.. solved |
13:50:36
| <dmilith> | it's completely ignoring LDFLAGS ;] |
14:09:51
| <dmilith> | how gyp is passing those values to scons anyway? |
14:33:30
| * temp01 | quit (Read error: Connection reset by peer) |
14:38:07
| * temp01 | joined |
15:04:44
| <bnoordhuis> | dmilith: gyp doesn't pass anything to scons, it's its own build system |
15:05:44
| <dmilith> | that's sad. |
15:05:55
| <dmilith> | I managed to do everything without it |
15:06:51
| <dmilith> | I'm using my own build system written in pure sh |
15:09:38
| * isaacs | joined |
15:14:19
| <dmilith> | can I build static and dynamic libraries at once? |
15:14:24
| <dmilith> | library=shared + library=static |
15:14:25
| <dmilith> | == |
15:14:31
| <dmilith> | library=shared,static ? |
15:15:13
| <dmilith> | this is not allowed but I want to have universal build with both static and dynamic libraries :o |
15:15:54
| <dmilith> | do I need to run compilation twice? :o |
15:19:59
| <bnoordhuis> | dmilith: yes |
15:20:10
| <bnoordhuis> | well, at least the linking part |
15:20:30
| <dmilith> | um. that's peculiar |
15:20:34
| <bnoordhuis> | you could hack the gyp file, add two targets, one static, one dynamic |
15:24:13
| * joshthecoder | joined |
15:24:25
| <bnoordhuis> | dmilith: btw, there's a good reason to compile either a .a or a .so but not both |
15:24:43
| <dmilith> | for example? |
15:24:55
| <bnoordhuis> | dynamic libraries need -fPIC (position independent code) but that's expensive on i386 |
15:25:19
| <bnoordhuis> | on x64 otoh pic code is usually smaller than non-pic code |
15:25:35
| <bnoordhuis> | thanks to rip-relative addressing |
15:26:13
| <bnoordhuis> | what i mean is that if you're using the same object files for a .a and a .so, you're potentially leaving performance on the table |
15:32:01
| <dmilith> | i'm using x64 architectures only |
15:44:48
| <dmilith> | and fPIC is on by default too |
16:02:52
| <bnoordhuis> | okay, in that case go for it |
16:03:56
| * RT|Chatzilla | quit (Quit: ChatZilla 0.9.86.1 [Firefox 2.0.0.22pre/2009081014]) |
16:53:14
| * [[zz]] | quit (Ping timeout: 245 seconds) |
16:59:29
| * isaacs | quit (Remote host closed the connection) |
17:25:15
| <dmilith> | bnoordhuis: there's problem with some external apps like mongo |
17:25:24
| <dmilith> | for example mongodb requires static version |
17:25:34
| <dmilith> | ruby, by default will look for dynamic |
17:31:33
| * oiig | quit |
17:44:52
| * isaacs | joined |
17:49:12
| * TooTallNate | joined |
18:35:43
| * isaacs | quit (Ping timeout: 240 seconds) |
19:33:40
| * [[zz]] | joined |
19:56:45
| * mraleph | joined |
20:04:39
| * fdmanana | quit (Quit: Leaving) |
20:24:46
| * xan__ | joined |
20:25:29
| * xan_ | quit (Read error: Operation timed out) |
21:43:02
| * isaacs | joined |
22:08:13
| * TheJH | quit (Ping timeout: 240 seconds) |
22:13:07
| * mraleph | quit (Quit: Leaving.) |
22:20:28
| * rendar | quit |
22:33:08
| * RT|Chatzilla | joined |
23:17:18
| * decoder_ | quit (Read error: Operation timed out) |
23:19:25
| * decoder | joined |