commit 383b17c55cbf83d7a29c7e1ebe2943b9a0e6222a Author: BlubbFish Date: Sun Nov 15 16:12:32 2015 +0000 gcc bridge hinzugefügt diff --git a/Gcc-Proxy.sln b/Gcc-Proxy.sln new file mode 100644 index 0000000..ff45da0 --- /dev/null +++ b/Gcc-Proxy.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gcc-Proxy", "Gcc-Proxy\Gcc-Proxy.csproj", "{7A75E2DB-2DD1-4D32-8BAE-E8FB15BCB273}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7A75E2DB-2DD1-4D32-8BAE-E8FB15BCB273}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7A75E2DB-2DD1-4D32-8BAE-E8FB15BCB273}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7A75E2DB-2DD1-4D32-8BAE-E8FB15BCB273}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7A75E2DB-2DD1-4D32-8BAE-E8FB15BCB273}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Gcc-Proxy/App.config b/Gcc-Proxy/App.config new file mode 100644 index 0000000..0618873 --- /dev/null +++ b/Gcc-Proxy/App.config @@ -0,0 +1,24 @@ + + + + +
+ + + + + + + + + hardware\tools\avr\bin\avr-g++.orig.exe + + + -O3 + + + G:\Programme\arduino-nightly + + + + \ No newline at end of file diff --git a/Gcc-Proxy/Gcc-Proxy.csproj b/Gcc-Proxy/Gcc-Proxy.csproj new file mode 100644 index 0000000..4ac2092 --- /dev/null +++ b/Gcc-Proxy/Gcc-Proxy.csproj @@ -0,0 +1,67 @@ + + + + + Debug + AnyCPU + {7A75E2DB-2DD1-4D32-8BAE-E8FB15BCB273} + Exe + Properties + Gcc_Proxy + avr-g++ + v4.5 + 512 + + + AnyCPU + true + full + false + G:\Programme\arduino-nightly\hardware\tools\avr\bin\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + True + True + Settings.settings + + + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + \ No newline at end of file diff --git a/Gcc-Proxy/Gcc-Proxy.csproj.user b/Gcc-Proxy/Gcc-Proxy.csproj.user new file mode 100644 index 0000000..e34fcc9 --- /dev/null +++ b/Gcc-Proxy/Gcc-Proxy.csproj.user @@ -0,0 +1,6 @@ + + + + -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10600 -DARDUINO_AVR_MEGATRONICS -DARDUINO_ARCH_AVR -IG:\Programme\arduino-nightly\hardware\arduino\avr\cores\arduino -IG:\Programme\arduino-nightly\hardware\arduino\avr\variants\mega -IG:\Programme\arduino-nightly\hardware\arduino\avr\libraries\Wire -ID:\Arduino\libraries\U8glib -IG:\Programme\arduino-nightly\libraries\LiquidCrystal\src -IG:\Programme\arduino-nightly\hardware\arduino\avr\libraries\SPI C:\Users\netz\AppData\Local\Temp\build3326865059667078890.tmp\temperature.cpp -o C:\Users\netz\AppData\Local\Temp\build3326865059667078890.tmp\temperature.cpp.o + + \ No newline at end of file diff --git a/Gcc-Proxy/Program.cs b/Gcc-Proxy/Program.cs new file mode 100644 index 0000000..e249f2c --- /dev/null +++ b/Gcc-Proxy/Program.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Diagnostics; + +namespace Gcc_Proxy +{ + class Program + { + static void Main(string[] args) + { + Process p = new Process(); + p.StartInfo.Arguments = String.Join(" ", args) + " " + Gcc_Proxy.Properties.Settings.Default.para; + p.StartInfo.FileName = Gcc_Proxy.Properties.Settings.Default.gcc; + p.StartInfo.WorkingDirectory = Gcc_Proxy.Properties.Settings.Default.work; + p.StartInfo.UseShellExecute = false; + p.Start(); + p.WaitForExit(); + Environment.Exit(p.ExitCode); + } + } +} diff --git a/Gcc-Proxy/Properties/AssemblyInfo.cs b/Gcc-Proxy/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..4568f48 --- /dev/null +++ b/Gcc-Proxy/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Allgemeine Informationen über eine Assembly werden über die folgenden +// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, +// die mit einer Assembly verknüpft sind. +[assembly: AssemblyTitle("Gcc-Proxy")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Gcc-Proxy")] +[assembly: AssemblyCopyright("Copyright © 2014")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar +// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von +// COM zugreifen müssen, legen Sie das ComVisible-Attribut für diesen Typ auf "true" fest. +[assembly: ComVisible(false)] + +// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird +[assembly: Guid("376d10f9-0803-4a09-ba90-d401f5d446b2")] + +// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: +// +// Hauptversion +// Nebenversion +// Buildnummer +// Revision +// +// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern +// übernehmen, indem Sie "*" eingeben: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Gcc-Proxy/Properties/Settings.Designer.cs b/Gcc-Proxy/Properties/Settings.Designer.cs new file mode 100644 index 0000000..f888020 --- /dev/null +++ b/Gcc-Proxy/Properties/Settings.Designer.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.18444 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace Gcc_Proxy.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("hardware\\tools\\avr\\bin\\avr-g++.orig.exe")] + public string gcc { + get { + return ((string)(this["gcc"])); + } + set { + this["gcc"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("-O3")] + public string para { + get { + return ((string)(this["para"])); + } + set { + this["para"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("G:\\Programme\\arduino-nightly")] + public string work { + get { + return ((string)(this["work"])); + } + set { + this["work"] = value; + } + } + } +} diff --git a/Gcc-Proxy/Properties/Settings.settings b/Gcc-Proxy/Properties/Settings.settings new file mode 100644 index 0000000..12d5aee --- /dev/null +++ b/Gcc-Proxy/Properties/Settings.settings @@ -0,0 +1,15 @@ + + + + + + hardware\tools\avr\bin\avr-g++.orig.exe + + + -O3 + + + G:\Programme\arduino-nightly + + + \ No newline at end of file diff --git a/Gcc-Proxy/bin/Release/avr-g++.exe b/Gcc-Proxy/bin/Release/avr-g++.exe new file mode 100644 index 0000000..e4aeb82 Binary files /dev/null and b/Gcc-Proxy/bin/Release/avr-g++.exe differ