hi!
To continue the inflow of good news this week, let me announce that
clang -integrated-as (ie. ELF part of MC) compiles all of FreeBSD!
This includes things like booting kernel, gnu libstdc++, clang/LLVM
itself and many other components that make up FreeBSD operating system.
I personally consider this a milestone where -integrated-as should
become the default for ELF/{x86_64,i386}.
Many thanks to all involved in this!
Roman Divacky
That's great! If Rafael agrees, please do turn it on by default!
-Chris
Very cool! I should note that Linux also compiles with -integrated-as (I had to
add support for .code16gcc, and a couple other things). I definately think it's
time to turn on the integrated assembler by default.
- --
Bryce Lelbach aka wash
http://groups.google.com/group/ariel_devel
Very cool! I should note that Linux also compiles with -integrated-as (I had to
add support for .code16gcc, and a couple other things). I definately think it's
time to turn on the integrated assembler by default.
- --
Bryce Lelbach aka wash
http://groups.google.com/group/ariel_devel
Just interested. How much faster is it to use the integrated assembler compared to using the system assembler. Did you compare their performance?
Are there any other advantages using the -integrated-as over using the system assembler?
Cheers
Tobi
Just interested. How much faster is it to use the integrated assembler
compared to using the system assembler. Did you compare their performance?
I have not compared it. It is on my list, but there are still some
other things I would like to do first.
Are there any other advantages using the -integrated-as over using the
system assembler?
Clang can print error messages pointing to inline asm that MC finds a
problem in. In the case of BSD it also lifts the burden of having to
maintain an assembler.
Cheers
Tobi
Cheers,
Rafael
Can clang handle debug symbols?
In Windows MinGW I run following:
clang++ -v -ggdb -integrated-as -c tt.cpp -o tt.o
Without -ggdb it is blazing fast and works but with -ggdb it breaks with following message:
EmitRawText called on an MCStreamer that doesn't support it, something must not
be fully mc'ized
It depends on the streamer implementation. I don't know what the
status is for MinGW. On linux I managed to do a clang bootstrap in
debug mode.
Cheers,
Rafael