-
Notifications
You must be signed in to change notification settings - Fork 69
Setup Linux X64 toolchain for non-X64 hosts. #164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,15 @@ import 'package:native_assets_cli/native_assets_cli.dart'; | |
import '../tool/tool.dart'; | ||
import '../tool/tool_resolver.dart'; | ||
|
||
/// The GNU Compiler Collection. | ||
/// The GNU Compiler Collection for [Architecture.current]. | ||
/// | ||
/// https://gcc.gnu.org/ | ||
final gcc = Tool(name: 'GCC'); | ||
|
||
/// The GNU GCC archiver. | ||
/// The GNU GCC archiver for [Architecture.current]. | ||
final gnuArchiver = Tool(name: 'GNU archiver'); | ||
|
||
/// The GNU linker. | ||
/// The GNU linker for [Architecture.current]. | ||
/// | ||
/// https://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/ld.html | ||
final gnuLinker = Tool(name: 'GNU linker'); | ||
|
@@ -29,6 +29,15 @@ final i686LinuxGnuGccAr = _gnuArchiver('i686-linux-gnu'); | |
/// [gnuLinker] with [Tool.defaultResolver] for [Architecture.ia32]. | ||
final i686LinuxGnuLd = _gnuLinker('i686-linux-gnu'); | ||
|
||
/// [gcc] with [Tool.defaultResolver] for [Architecture.x64]. | ||
final x86_64LinuxGnuGcc = _gcc('x86_64-linux-gnu'); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What happens on x64 hosts? Can one install the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On an X64 Debian machine, if I install |
||
|
||
/// [gnuArchiver] with [Tool.defaultResolver] for [Architecture.x64]. | ||
final x86_64LinuxGnuGccAr = _gnuArchiver('x86_64-linux-gnu'); | ||
|
||
/// [gnuLinker] with [Tool.defaultResolver] for [Architecture.x64]. | ||
final x86_64LinuxGnuLd = _gnuLinker('x86_64-linux-gnu'); | ||
|
||
/// [gcc] with [Tool.defaultResolver] for [Architecture.arm]. | ||
final armLinuxGnueabihfGcc = _gcc('arm-linux-gnueabihf'); | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.