Skip to content

Lab9/max-c-calls-x86: Actually compile in 32-bit mode#179

Merged
teodutu merged 1 commit into
cs-pub-ro:mainfrom
avramtraian:main
May 4, 2026
Merged

Lab9/max-c-calls-x86: Actually compile in 32-bit mode#179
teodutu merged 1 commit into
cs-pub-ro:mainfrom
avramtraian:main

Conversation

@avramtraian

Copy link
Copy Markdown

The current Makefile invokes the assembler and compiler in 64-bit mode, which causes some errors in max.asm. This patch fixes these issues by essentially copying the flags from the 'max-assembly-calls-x86' task.

Prerequisite Checklist

  • Read the contribution guidelines regarding submitting new changes to the project;
  • Tested your changes against relevant architectures and platforms;

Description of changes

Changed the assembler/compiler flags to target 32-bit.

The current Makefile invokes the assembler and compiler in 64-bit mode,
which causes some errors in max.asm. This patch fixes these issues by
essentially copying the flags from the 'max-assembly-calls-x86' task.

Signed-off-by: Traian Avram <traian.avram1@gmail.com>

@teodutu teodutu left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@teodutu teodutu merged commit 8f6fb07 into cs-pub-ro:main May 4, 2026
3 checks passed
@teodutu teodutu added the student-contrib Fix or improvement made by a student label May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

student-contrib Fix or improvement made by a student

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants