Help! - Compilation error for mips-rtems tools under Cygwin
Joel Sherrill <joel@OARcorp.com>
joel.sherrill at OARcorp.com
Wed Sep 14 20:13:24 UTC 2005
Keith Siders wrote:
>
> --- "Joel Sherrill <joel at OARcorp.com>"
> <joel.sherrill at OARcorp.com> wrote:
>
>>>still preceeded it. So I modified the user profile
>>
>>to
>>
>>>prepend any previous paths, got
>>
>>/gcc-mips-rtems/bin as
>>
>>>the first path, and it still made the same
>>
>>complaint.
>>
>>>$ echo $PATH
>>>
>>
> /gcc-mips-rtems/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Program
>
> Files/doxygen/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin/tools:/cygdrive/c/Program
>
> Files/cvsnt:.:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
>
>>>sidersk at siders-desk /source
>>>$
>>>
>
> ...
>
>>Before you build, start a fresh shell and "echo
>>$PATH".
>
> That's what the above was. ;-)
>
>
>>type mips-rtems4.7-gcc. Make sure they are what you
>>think
>>they should be.
>
>
> Well, I can't since that's what I'm trying to build.:(
I meant "type mips-rtems4.7-as". You want to make sure it is
in your PATH
>>It is best to have a VERY clean environment when
>>using Cygwin.
>>You need to get rid of the Windows parts of the PATH
>>as well
>>as "." It is a security risk even if it isn't
>>causing this.
>
>
> I'd sure like to find where that is getting set...
Try an explicit "export PATH=dir:dir..." and don't
inherit any PATH from the environment.
>>Also do an "env" command and make sure LIB, CC, and
>>anything
>>else that looks like it might be related to building
>>software
>>relates to Cygwin not Windows.
>
>
> Don't see anything yet that resembles these, perhaps
> because I haven't successfully built the tool yet?
More likely no Visual Studio conflicts. :)
> Thanks!
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list