This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: compiling libgomp separately
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Robert Oeffner <robert at oeffner dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 01 Aug 2009 13:11:47 +0100
- Subject: Re: compiling libgomp separately
- References: <39B32765B4ED4A938B9251461100C411@Dirac>
Robert Oeffner wrote:
> Hi,
> I'm trying to port GCC 4.4.0 to interix. I have some issues with
> libgomp. To save time rather than bootstrapping GCC each time I make a
> change I would like to compile libgomp separately to make my amendments
> take effect. So I copied gcc-4.4.0/libgomp/ to a separate folder
> mylibgomp/ and from there ran ../gcc-4.4.0/libgomp/configure and gmake
> in that folder. libgomp does compile object files but no library files,
> libgomp.so and libgomp.a. Are there anyone who could point out what I'm
> doing wrong?
You can't use the subdirectory configures like that, they depend on the
top-level configure to pass stuff down to them. What you need to do is do a
full bootstrap once, then cd into your $objdir/$target/libgomp and just run a
"make all" at that level.
cheers,
DaveK