Adam wrote:
> In message <[EMAIL PROTECTED]>, alan buckley wrote:
>
> Has anyone else tried building GCC4 with Cygwin? I've been playing
> around with it. One problem has been that Cygwin doesn't have an
> official autogen build. After a query on the Cygwin mailing list,
> someone was kind enough to send me their build of it though.
> 
> So, I've been following through the GCC4 readme file and have got this
> so far:
> 
>   $ ./create-srcdir
>   [snip]
>   patching file ltconfig
>   Copying files
>   /home/adamr/gccsdk/gcc4/recipe/scripts/reconf-ld
>   /home/adamr/gccsdk/gcc4/recipe/scripts/reconf-libscl
>   configure.ac:117: error: possibly undefined macro: AC_PROG_LIBTOOL
>         If this token and others are legitimate, please use m4_pattern_allow.
>         See the Autoconf documentation.
> 
> Does this matter? Anyway, I carried on regardless...

Yes, the "error" bit is your clue ;-)
You might want to check the versions closely with what we say in the
Readme


alan buckley wrote:
 >
 >   BUILD="--build=i686-pc-cygwin"
 >
 > fixed this. However this would probably cause
 > problems for other systems.
 >
 > Can anyone suggest how I should detect if cygwin
 > is running in ro-config so I can use the above for
 > cygwin builds? Or is there a better solution to find
 > the native machine ro-config is running on?

You're going to want to look at the output of 'uname', versus
what it says on Linux, which is simply "Linux".






_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

Reply via email to