clang and mingw

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

clang and mingw

Vincent R.
Hi,

Sorry to ask this question but I have checkouted latest llvm-clang sources
and when I enter ./configure --enable-optimized && make
when compilation is finished I dont'get any clang binary.
Have you changed something ?
You can see my logs here :
http://www.smartmobili.com/Downloads/config.log
http://www.smartmobili.com/Downloads/config.status
http://www.smartmobili.com/Downloads/build.txt


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: clang and mingw

Daniel Dunbar
This is suspicious:
--
make[3]: Entering directory `/home/Vincent/llvm/tools/clang/tools'
make[3]: Nothing to be done for `all'.
--
why isn't it building in the driver directory?

 - Daniel

On Thu, Mar 11, 2010 at 6:02 AM, Vincent Richomme
<[hidden email]> wrote:

> Hi,
>
> Sorry to ask this question but I have checkouted latest llvm-clang sources
> and when I enter ./configure --enable-optimized && make
> when compilation is finished I dont'get any clang binary.
> Have you changed something ?
> You can see my logs here :
> http://www.smartmobili.com/Downloads/config.log
> http://www.smartmobili.com/Downloads/config.status
> http://www.smartmobili.com/Downloads/build.txt
>
>
> _______________________________________________
> cfe-dev mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: clang and mingw

Vincent R.
On Thu, 11 Mar 2010 08:49:54 -0800, Daniel Dunbar <[hidden email]>
wrote:
> This is suspicious:
> --
> make[3]: Entering directory `/home/Vincent/llvm/tools/clang/tools'
> make[3]: Nothing to be done for `all'.
> --
> why isn't it building in the driver directory?
>

Ok I found that from 08th march 2010, clang is not compiled anymore on
mingw.
Problem seems to be the following lines:

C:\Developer\Mingw-NG\home\Vincent\llvm_20100308\tools\clang\tools\Makefile:

include $(LEVEL)/Makefile.config

ifeq ($(OS), $(filter $(OS), Cygwin MingW))
DIRS := $(filter $(DIRS), CIndex)
DIRS := $(filter $(DIRS), c-index-test)
endif

If I comment them, clang/c++ are finally built.


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: clang and mingw

Anton Korobeynikov
> Ok I found that from 08th march 2010, clang is not compiled anymore on
> mingw.
> Problem seems to be the following lines:
>
> C:\Developer\Mingw-NG\home\Vincent\llvm_20100308\tools\clang\tools\Makefile:
>
> include $(LEVEL)/Makefile.config
>
> ifeq ($(OS), $(filter $(OS), Cygwin MingW))
> DIRS := $(filter $(DIRS), CIndex)
> DIRS := $(filter $(DIRS), c-index-test)
> endif
>
> If I comment them, clang/c++ are finally built.
I believe I just committed the fix, please verify


--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: clang and mingw

Vincent R.
On Sun, 14 Mar 2010 15:56:30 +0300, Anton Korobeynikov
<[hidden email]> wrote:
>> Ok I found that from 08th march 2010, clang is not compiled anymore on
>> mingw.
>> Problem seems to be the following lines:
>>
>>
C:\Developer\Mingw-NG\home\Vincent\llvm_20100308\tools\clang\tools\Makefile:

>>
>> include $(LEVEL)/Makefile.config
>>
>> ifeq ($(OS), $(filter $(OS), Cygwin MingW))
>> DIRS := $(filter $(DIRS), CIndex)
>> DIRS := $(filter $(DIRS), c-index-test)
>> endif
>>
>> If I comment them, clang/c++ are finally built.
> I believe I just committed the fix, please verify

Ok so now clang.exe is compiled but I get an error when a symbolic link is
created
llvm[4]: Creating Release Alias clang++ (without symbols)
ln: creating symbolic link `/home/Vincent/llvm/Release/bin/clang++.exe' to
`clang.exe': No such file or directory
make[4]: *** [/home/Vincent/llvm/Release/bin/clang++.exe] Error 1
make[4]: Leaving directory `/home/Vincent/llvm/tools/clang/tools/driver'

I know that msys doesn't really support symbolic link since it makes
actually a copy
but don't know if it's the reason here.
Or maybe from error message, is it normal that ln is not passed full path
to clang.exe ?

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev