Greg Schafer wrote:
> Jeremy Huntwork wrote:
>
>> $ echo 'main(){}' | ./gcc/xgcc -xc -v -
>
> You have to give it a -B arg so it can find the sub-tools like cc1 etc.
> Just look at the build log for an example.
Well, doing that just gives me the same sort of error:
$ echo 'main(){}' | ./gcc/xgcc -B./gcc/ -xc -v -
Reading specs from ./gcc/specs
xgcc: ./gcc/specs: Invalid argument
The output from running 'cc1' seems to be more revealing, but, then
again, I'm not sure how it's meant to be used.
--
JH
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page