https://bugzilla.novell.com/show_bug.cgi?id=471385

User [email protected] added comment
https://bugzilla.novell.com/show_bug.cgi?id=471385#c3





--- Comment #3 from Steven Munroe <[email protected]>  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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to