mirror of
https://github.com/autc04/Retro68.git
synced 2024-10-08 23:56:52 +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))
|
||||
{
|
||||
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";
|
||||
hadRts = true;
|
||||
}
|
||||
|
@ -1,3 +1,7 @@
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
@ -9,10 +13,6 @@
|
||||
#include "diagnostic-core.h"
|
||||
#include "cpplib.h"
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
std::map<std::string, int> pragma_parameter_register_names;
|
||||
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
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
@ -51,10 +55,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
|
||||
#include "diagnostic-core.h"
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
std::map< std::string, std::vector<int> > pragma_parameter_directives;
|
||||
|
||||
|
||||
|
@ -1,6 +1,9 @@
|
||||
IN=$1
|
||||
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/
|
||||
for file in $(cd $IN; ls [A-Z]*.h); do
|
||||
tr '\r' '\n' < $IN/$file > $OUT/$file
|
||||
|
Loading…
Reference in New Issue
Block a user