[Mono-bugs] [Bug 471385] mkbundle failes for PPC64
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Feb 1 21:51:00 EST 2009
https://bugzilla.novell.com/show_bug.cgi?id=471385
User munroesj at us.ibm.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471385#c3
--- Comment #3 from Steven Munroe <munroesj at us.ibm.com> 2009-02-01 19:50:58 MST ---
Looking at mkbundle.cs it seems to have the ability to pick up CC ad AS from
the environment variables. For example:
string cc = GetEnv ("CC", IsUnix ? "cc" : "gcc -mno-cygwin");
Will pick up the value of "gcc -m64" from environment variable CC if defined.
Similarly for AS:
string cmd = String.Format ("{0} -o {1} {2} ", GetEnv ("AS", "as"), temp_o,
temp_s);
But neither CC nor AS are passed to mkbundle in ./mono/test/Makefile.am. I
assume that this would be a good general fix. But I am not sure of the makefile
logic for this.
Also the mkbundle.cs would be more robust if it would use "$CC -c" for
assembling temp.s. On Linux, gcc will detect the .s file extension and pass
temp.s to as, with the correct options based on -m32 or -m64.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list