Graydon Hoare
4f52ab52c1
Remove everything to do with rustboot from makefiles.
2011-05-03 15:56:00 -07:00
Graydon Hoare
d987b49a4b
More hacking on the snapshot system.
2011-05-02 23:37:52 -07:00
Graydon Hoare
5d1c8dbfa9
Add stage1, stage2 to Makefile.in default target, so tinderboxes notice breakage.
2011-05-02 17:56:33 -07:00
Graydon Hoare
40624e35d7
Start splitting up Makefile.in
2011-05-01 20:20:25 +00:00
Graydon Hoare
73ba2dd4c7
Shift stages around; stage0/rustc depends on stage0/libstd.so.
2011-04-30 18:44:34 +00:00
Patrick Walton
9aeb67987c
rustc: Temporarily add a switch and a corresponding makefile variable to disable typestate
2011-04-29 12:16:14 -07:00
Patrick Walton
648c4ae2ba
build: Add a TIME_PASSES=1 variable
2011-04-29 11:55:32 -07:00
Patrick Walton
c52fb52fbc
rustc: Remove the wrong-compiler warning; we're self-hosting now.
2011-04-29 10:23:53 -07:00
Marijn Haverbeke
6b11f6c46f
Change rustc to use GetOpts rather than ad-hoc command-line parsing
...
NOTE: all 'long' parameters now use a double dash, so --shared, rather
than gcc-style -shared.
2011-04-26 20:32:14 +02:00
Patrick Walton
3f77e7df6d
rustc: Add a SAVE_TEMPS option to the Makefile for use when debugging stage1 and test cases
2011-04-25 14:20:28 -07:00
Graydon Hoare
0cffc58225
Fix LD_LIBRARY_PATH on STAGE0, STAGE1 defs; define STAGE2.
2011-04-24 00:29:19 -07:00
Graydon Hoare
9eec7e3b15
Expansion of rules to cover stage1, stage2 in more cases. Fix typo in makefile.
2011-04-24 06:06:29 +00:00
Rafael Ávila de Espíndola
fac8cc3b06
Use -c in the Makefiles.
2011-04-22 15:15:52 -04:00
Graydon Hoare
186717fae0
Fix link commands for stage1 and stage2.
2011-04-21 06:07:10 +00:00
Graydon Hoare
c470cd2d66
Fix stage1 Makefile rules.
2011-04-20 15:24:04 +00:00
Graydon Hoare
d2bd07dcb0
Remove effect system from src.
2011-04-19 13:35:49 -07:00
Rafael Ávila de Espíndola
9657e5d2d3
Revert 9ab42038bb
while I find what is
...
wrong on Windows.
2011-04-18 15:37:04 -04:00
Rafael Ávila de Espíndola
9ab42038bb
Change the makefiles to use -c.
2011-04-18 15:00:17 -04:00
Rafael Ávila de Espíndola
099e094765
Produce PIC code and use -S in the Makefile.
2011-04-15 19:29:13 -04:00
Rafael Ávila de Espíndola
01b1d4110d
Remove code that is already in llvm for some time.
2011-04-13 14:55:44 -04:00
Rafael Ávila de Espíndola
1fa7fe758f
Update Makefile.in, not Makefile :-(
2011-04-13 14:05:02 -04:00
Rafael Ávila de Espíndola
4bd8dcccbc
Try to fix the windows build.
2011-04-11 15:05:18 -04:00
Rafael Ávila de Espíndola
e733311a95
Make sure RustWrapper.cpp is linked in.
2011-04-11 14:52:11 -04:00
Graydon Hoare
19ebc0f376
Actually disable optimize in --disable-optimize case, duh.
2011-04-08 17:28:14 -07:00
Graydon Hoare
cae703c0b1
Add support for --disable-optimize
2011-04-08 15:49:14 -07:00
Rafael Ávila de Espíndola
2cbe2bcb5e
Link with -lm now that it is not included with --whole-archive when
...
building rustllvm.
2011-04-08 14:51:47 -04:00
Rafael Ávila de Espíndola
f8e22cdff3
Gold is more strict about --whole-archive and will report duplicated
...
symbols because of an Object.o in a .a and one outside. A similar
problem happens for the non-shared part of libpthread.
This patch moves the -whole-archive/-no-whole-archive to include just the
llvm libs.
2011-04-08 14:25:18 -04:00
Patrick Walton
ed14ea1d3f
build: Use -O0 on Darwin. Seems that Darwin's GCC optimizations break rustrt.
2011-04-07 18:14:13 -07:00
Marijn Haverbeke
973023030e
add -O2 when compiling rt, fix warnings triggered by optimizer
2011-04-08 00:41:52 +02:00
Rafael Ávila de Espíndola
b4422cca21
Add a -O option and change the Makefile to use it.
2011-04-07 15:42:06 -04:00
Graydon Hoare
6d857c0c84
Fix error where make check would not produce compilers first, due to make's infinite-recursion-prevention heuristic.
2011-03-31 14:58:44 -07:00
Graydon Hoare
a505e3c0ec
Improve 'clean' make target.
2011-03-31 14:03:43 -07:00
Graydon Hoare
a154c5b656
Um, that'd be, align the word *before* retpc. Addresses point to the low part of a word. Un-XFAIL nbody on Darwin.
2011-03-30 14:10:06 -07:00
Graydon Hoare
94731fa458
Add support for --enable-foo and --disable-foo flags to configure, that Makefile.in respects.
2011-03-30 04:45:09 +00:00
Graydon Hoare
b55c8333cb
Beef up the SREQ variables in Makefile.in, make tests depend on libstd.so
2011-03-29 17:33:39 -07:00
Graydon Hoare
d7a6c83c8c
Apparently I learned to type yesterday.
2011-03-29 15:21:39 -07:00
Graydon Hoare
973fd3c4f2
Add -lstd to the stage0, 1, 2 test executable link commands.
2011-03-29 14:56:57 -07:00
Graydon Hoare
6936093992
XFAIL nbody on darwin, quiet tinderbox for now.
2011-03-29 11:20:58 -07:00
Graydon Hoare
b628c352f3
Fix Makefile.in grep for use on weaker greps (win32 mingw).
2011-03-26 17:35:26 -07:00
Graydon Hoare
49d9d5688e
Switch xfail system to use comments embedded in source files.
2011-03-25 12:19:20 -07:00
Tim Chevalier
a47cd50dfb
Parse FP literals without coercing to int. This allows parsing 64-bit
...
floats. However, if someone writes a literal that can't be represented
precisely in 64 bits, the front-end will accept it while the back-end
will (presumably) complain.
2011-03-25 11:20:30 -07:00
Brian Anderson
ebc4df3c7a
Implement local declarations with receive. Un-XFAIL decl-with-recv.rs.
2011-03-25 11:01:52 -07:00
Brian Anderson
ef1bcdea70
Add test for local declarations with receive. XFAIL in rustc.
2011-03-25 11:01:52 -07:00
Graydon Hoare
10f336055c
Auto-reconfigure on Makefile.in or configure change.
2011-03-25 10:29:45 -07:00
Brian Anderson
2036e8221d
Un-XFAIL task-comm-4, 5 & 6
2011-03-25 08:43:08 -07:00
Marijn Haverbeke
a045514477
Start making the standard-lib utf-8 aware
...
Finally implements _str.is_utf8, adds from_chars, from_char, to_chars,
char_at, char_len, (push|pop|shift|unshift)_char. Also, proper
character I/O for streams.
2011-03-25 08:22:52 -07:00
Graydon Hoare
78c077e428
Don't delete rust.texi on 'make clean'
2011-03-25 07:35:59 -07:00
Graydon Hoare
3d56b41478
Untabify Makefile entry.
2011-03-25 00:16:05 -07:00
Graydon Hoare
0f9d460e24
Placate win32 build; no idea how it can be working currently on tinderbox.
2011-03-25 00:16:04 -07:00
Lindsey Kuper
bcc104ce79
A first stab at the 'nbody' demo, with support for calling C sqrt().
2011-03-25 00:15:56 -07:00