* gcc 4.6.0 with llibgomp for mingw64
@ 2011-03-02 18:30 Alen Skondro
2011-03-02 21:11 ` Ian Lance Taylor
0 siblings, 1 reply; 3+ messages in thread
From: Alen Skondro @ 2011-03-02 18:30 UTC (permalink / raw)
To: gcc-help
I'm trying to build gcc 4.6.0 with libgomp targeting i686-w64-mingw32
and the issue is that it installs the libgomp.a library but doesn't
install omp.h anywhere...
I had to explicitly specify to build libgomp (--enable-libgomp)
otherwise no libgomp.a would be built.
pthread is installed.
configure using cygwin:
#../gcc/configure --target=i686-w64-mingw32 --build=i686-pc-cygwin
--prefix=/mingw-cross/ --disable-nls --with-gmp=/mingw-cross/
--enable-sjlj-exceptions --disable-multilib --enable-libgomp
--enable-languages=c,c++
#make install
After make install all I have is libgomp.a and libgomp-1.dll in
/mingw-cross/i686-w64-mingw32/
lib but no omp.h. Is that expected for mingw?
Maybe this this material for the mingw64 project anyway ...
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gcc 4.6.0 with llibgomp for mingw64
2011-03-02 18:30 gcc 4.6.0 with llibgomp for mingw64 Alen Skondro
@ 2011-03-02 21:11 ` Ian Lance Taylor
2011-03-04 19:20 ` Alen Skondro
0 siblings, 1 reply; 3+ messages in thread
From: Ian Lance Taylor @ 2011-03-02 21:11 UTC (permalink / raw)
To: Alen Skondro; +Cc: gcc-help
Alen Skondro <askondro@gmail.com> writes:
> I'm trying to build gcc 4.6.0 with libgomp targeting i686-w64-mingw32
> and the issue is that it installs the libgomp.a library but doesn't
> install omp.h anywhere...
omp.h should be installed under lib/gcc/TARGET/VERSION/include. This
should happen when libgomp is installed. I don't know why it wouldn't
happen for you.
Ian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gcc 4.6.0 with llibgomp for mingw64
2011-03-02 21:11 ` Ian Lance Taylor
@ 2011-03-04 19:20 ` Alen Skondro
0 siblings, 0 replies; 3+ messages in thread
From: Alen Skondro @ 2011-03-04 19:20 UTC (permalink / raw)
To: Ian Lance Taylor; +Cc: gcc-help
On Wed, Mar 2, 2011 at 10:11 PM, Ian Lance Taylor <iant@google.com> wrote:
> Alen Skondro <askondro@gmail.com> writes:
>
>> I'm trying to build gcc 4.6.0 with libgomp targeting i686-w64-mingw32
>> and the issue is that it installs the libgomp.a library but doesn't
>> install omp.h anywhere...
>
> omp.h should be installed under lib/gcc/TARGET/VERSION/include. This
> should happen when libgomp is installed. I don't know why it wouldn't
> happen for you.
>
> Ian
>
well, I build it again and omp.h was where you said it would be..
problem solved!
thanks,
Alen
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-04 19:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-02 18:30 gcc 4.6.0 with llibgomp for mingw64 Alen Skondro
2011-03-02 21:11 ` Ian Lance Taylor
2011-03-04 19:20 ` Alen Skondro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).