This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: Building GCJ Error


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chirag wrote:
> I am trying to compile gcc 4.1.1 and I get the
> following error.

Can you please include more information than just the
error messages next time? For example, whether the
sources are pristine releases from FSF or patched by you,
the platform you're trying to build GCC on, the configure
command-line that you used, etc.


> Makefile:1277: *** target pattern contains no `%'. 

My guess is that this is an issue with a drive letter
in a path since it introduces a colon (e.g. "d:/foo/bar")
that can confuse make, but I can't be sure without you
providing us more information.

By the way, if you're using MSYS, the only reliable way
to build GCC is to use relative paths to the configure
script and use UNIX-y paths for the prefix. For example:

  ../gcc/configure --prefix=/foo/bar --host=mingw32 \
    --target=mingw32

HTH,
Ranjit.

- --
Ranjit Mathew       Email: rmathew AT gmail DOT com

Bangalore, INDIA.     Web: http://rmathew.com/




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEgR8qYb1hx2wRS48RAsNNAKCNMsZBqAOtympH7YiyIWlIcj8lTQCdEpd8
k/ThuWfraOa7SMpWFHaJJ8s=
=OomC
-----END PGP SIGNATURE-----


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