Re: First cut of PowerPC support in NPTL
Ulrich Drepper <[email protected]>
| Newsgroups | gmane.comp.lib.phil |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ian Wienand wrote:
> ianw@tartufi:/usr/src/ianw/libc/nptl$ gcc-snap -DDEFINE="part1 part2 part3"
> gcc: part2: No such file or directory
> gcc: part3: No such file or directory
> gcc: no input files
This doesn't look at all like a gcc problem.
Run strace gcc-snap -DDEFINE="a b c" somefile.c. The very first line
should be something like
execve("/usr/bin/gcc", ["gcc-snap", "-DDEFINE=a b c"], [....]) = 0
Note the second parameter. If this is not the case for you it's a shell
problem. I very much doubt that the gcc driver is taking the -D
parameter and splits it so that it can use parts of it as input file
names. If it does some DOS-style in-program argument parsing
incorrectly spilled over to the Unix side. Very unlikely.
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+aSZy2ijCOnn/RHQRAvJ+AJ44VwNESV4UVG7+gYcsuDW9Gj51BwCgwTXc
u6xcVNvVbKEHNFvVRsWgwto=
=yYSr
-----END PGP SIGNATURE-----