On 20/04/2011 12:02 AM, Graydon Hoare wrote:
But it builds!
Runs, even:
graydon@rust-dev:~/src/rust/build$ ls -l stage1
total 61108
-rwxr-xr-x 1 graydon graydon 8424476 Apr 20 07:05 rustc
-rwxr-xr-x 1 graydon graydon 17713972 Apr 20 06:45 rustc.bc
-rw-r--r-- 1 graydon graydon 36353594 Apr 20 07:03 rustc.s
graydon@rust-dev:~/src/rust/build$ stage1/rustc
This is the rust 'self-hosted' compiler.
The one written in rust.
It is currently incomplete.
You may want rustboot instead, the compiler next door.
usage: stage1/rustc [options] <input>
options:
-o <filename> write output to <filename>
-nowarn suppress wrong-compiler warning
-glue generate glue.bc file
-shared compile a shared-library crate
-pp pretty-print the input instead of compiling
-ls list the symbols defined by a crate file
-L <path> add a directory to the library search path
-noverify suppress LLVM verification step (slight speedup)
-h display this message
rt: ---
rt: 45a8:main:main: rust: error: no input filename
rt: 45a8:main:main: upcall fail 'explicit failure',
../src/comp/driver/session.rs:55
rt: 45a8:main: domain main @0xa69acf8 root task
failed
Unfortunately it doesn't quite manage to build itself to stage2 yet. But
give it time, it's only a few minutes old.
-Graydon
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev