Skip to content
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

Building LLVM with crosscompiler #1186

Closed
asl opened this issue Jun 29, 2006 · 3 comments
Closed

Building LLVM with crosscompiler #1186

asl opened this issue Jun 29, 2006 · 3 comments
Assignees
Labels
bugzilla Issues migrated from bugzilla portability

Comments

@asl
Copy link
Collaborator

asl commented Jun 29, 2006

Bugzilla Link 814
Resolution FIXED
Resolved on Feb 22, 2010 12:45
Version trunk
OS Linux
Attachments Patch over current LLVM sources, Additional m4 macro
CC @lattner

Extended Description

Currently I'm trying to build LLVM with crosscompiler (running Linux targeting
Windows).

At least the folowing things should be done:

  1. Look $OS from $host, not $build in configure.
  2. Build utils (tablegen) with native compiler.
@asl
Copy link
Collaborator Author

asl commented Jun 29, 2006

assigned to @asl

@asl
Copy link
Collaborator Author

asl commented Jul 10, 2006

Brief instructions:

  1. Configure LLVM for build target (host=target=build)
  2. Build tablegen only
  3. Configure LLVM with cross-compilator (host!=build)
  4. Build LLVM as usual with make.

Tested with mingw32 compiler (build=linux, host=windows).

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla portability
Projects
None yet
Development

No branches or pull requests

2 participants