On Wed, 24 Sep 2008 13:43:07 +0100, Pedro Alves <[EMAIL PROTECTED]>
wrote:
> On Wednesday 24 September 2008 08:54:12, Vincent R. wrote:
>> Just a few lines for cygwin users, sometimes /lib/cpp doesn't exist so
> we
>> have to create it :
>>
>> # On Cygwin it seems that symbolic link /lib/cpp is not always available
>> # We try to create it.
>> if [[ $(uname) = CYGWIN* && ! -e /lib/cpp && -e /bin/cpp.exe ]]; then
>>   ln -s /bin/cpp.exe /lib/cpp;
>> fi
> 
> I'm puzzled.
> 
> Where does this go?  What is accessing /lib/cpp ?  Why is this needed?
> What is exact error message?
Don't remember exactly why but when I did some tests with cegcc-4.3.2
configure is testing this value/
By chance I still have the build log :

Checking multilib configuration for libgcc...
mkdir -p -- arm-mingw32ce/libgcc
Configuring in arm-mingw32ce/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... i686-pc-cygwin
checking host system type... arm-unknown-mingw32ce
checking for arm-mingw32ce-ar... /opt/mingw32ce/arm-mingw32ce/bin/ar
checking for arm-mingw32ce-lipo... arm-mingw32ce-lipo
checking for arm-mingw32ce-nm...
/cygdrive/c/cygwin/home/vrichomme/cegcc-4.3.2/src/build-mingw32ce/gcc-bootstrap/./gcc/nm
checking for arm-mingw32ce-ranlib...
/opt/mingw32ce/arm-mingw32ce/bin/ranlib
checking for arm-mingw32ce-strip... /opt/mingw32ce/arm-mingw32ce/bin/strip
checking whether ln -s works... yes
...
checking how to run the C preprocessor... /lib/cpp

The test above was failing that's why I had to add this. I googled and I
find that usually 
/lib/cpp is a symbolic link to /bin/cpp, that's why I did this.






> 
> BTW, I don't think that creating a link under /lib behind the
> users back is something we should be doing.
> 
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to