Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Building the uisimulator using cygwin gcc!
From: Daniel Stenberg (daniel_at_haxx.se)
Date: 2003-02-17


On Sun, 16 Feb 2003, Henrik Backe wrote:

> I've submitted a patch that fixes the building of the simulator under
> cygwin.
>
> Basically it uses the ordinary gcc compiler with the -mno-cygwin option
> instead of the -mwindows option.

So, if that is the only difference, can't we make this fix nicer than having
two almost identical Makefiles added?

I see two possible approaches:

1. Dynamicly check in the Makefile for what condition that seems to fit. gcc
   or mingw.

2. Make the configure script ask the user what compiler that is being used,
   and then invoke make with a proper command line that allows it to do the
   correct action for the compiler of choice.

Also, please use the command line option -b as well when creating the diff,
as then we'll get a smaller diff (your editor seem to have modified
spaces/tabs that show up in the diff).

-- 
 Daniel Stenberg -- http://rockbox.haxx.se/ -- http://daniel.haxx.se/



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa