mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-17 05:29:38 +00:00
Some fixes to make it work again on Mac OS X
This commit is contained in:
parent
cfa92dcc02
commit
cd842777c9
|
@ -92,7 +92,7 @@ int main(int argc, char *argv[])
|
||||||
if(rx::regex_match(line, match, rtd))
|
if(rx::regex_match(line, match, rtd))
|
||||||
{
|
{
|
||||||
out << "\tmove.l (%a7)+, %a0\n";
|
out << "\tmove.l (%a7)+, %a0\n";
|
||||||
out << "\tlea " + match[1] + "(%a7), %a7\n";
|
out << "\tlea " + match[1].str() + "(%a7), %a7\n";
|
||||||
out << "\tjmp (%a0)\n";
|
out << "\tjmp (%a0)\n";
|
||||||
hadRts = true;
|
hadRts = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
#include <string>
|
||||||
|
#include <map>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "coretypes.h"
|
#include "coretypes.h"
|
||||||
|
@ -9,10 +13,6 @@
|
||||||
#include "diagnostic-core.h"
|
#include "diagnostic-core.h"
|
||||||
#include "cpplib.h"
|
#include "cpplib.h"
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <map>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
std::map<std::string, int> pragma_parameter_register_names;
|
std::map<std::string, int> pragma_parameter_register_names;
|
||||||
extern std::map< std::string, std::vector<int> > pragma_parameter_directives;
|
extern std::map< std::string, std::vector<int> > pragma_parameter_directives;
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,10 @@ You should have received a copy of the GNU General Public License
|
||||||
along with GCC; see the file COPYING3. If not see
|
along with GCC; see the file COPYING3. If not see
|
||||||
<http://www.gnu.org/licenses/>. */
|
<http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <map>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "coretypes.h"
|
#include "coretypes.h"
|
||||||
|
@ -51,10 +55,6 @@ along with GCC; see the file COPYING3. If not see
|
||||||
|
|
||||||
#include "diagnostic-core.h"
|
#include "diagnostic-core.h"
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <map>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
std::map< std::string, std::vector<int> > pragma_parameter_directives;
|
std::map< std::string, std::vector<int> > pragma_parameter_directives;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
IN=$1
|
IN=$1
|
||||||
OUT=$2
|
OUT=$2
|
||||||
|
|
||||||
|
# Make Mac OS X's tr and sed not complain that the files are not UTF-8
|
||||||
|
export LANG=en
|
||||||
|
|
||||||
# cp $IN/[A-Z]*.h $OUT/
|
# cp $IN/[A-Z]*.h $OUT/
|
||||||
for file in $(cd $IN; ls [A-Z]*.h); do
|
for file in $(cd $IN; ls [A-Z]*.h); do
|
||||||
tr '\r' '\n' < $IN/$file > $OUT/$file
|
tr '\r' '\n' < $IN/$file > $OUT/$file
|
||||||
|
|
Loading…
Reference in New Issue
Block a user