This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: failed to build gcc 3.4.1 on macosx 10.2.8


James E Wilson wrote:

israel evans wrote:

bash-2.05a$ ../gcc/configure --enable-altivec --enable-install-libiberty
...
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok


This is the wrong configure. You have to run the one in the toplevel directory. You can't run the one in the gcc subdirectory.

not necessary, if he sits in his objdir which is on the same level as gcc src dir than it is ok.
Try some simple config first:


In the objdir dir (see below) run this:
/Volumes/src/gcc/gcc-branch/gcc-3.4.1/configure --prefix=/Volumes/src/gcc/gcc-branch/testbin --enable-languages=c,c++,java


And then a make bootstrap (or even only a make )

Where gcc-branch (/Volumes/src/gcc/gcc-branch) contains the following dirs:

gcc-3.4.1
objdir (where you build the tree)
testbin (where you install it to test)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]