Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
FPC development
(Moderators:
FPK
,
Tomas Hajny
) »
[SOLVED] in globals.pas set to MIPS2, how to change?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
LazCAD – First Release!
by
maurog
[
Today
at 07:13:54 pm]
LED Multicolor Keyboard C...
by
Aruna
[
Today
at 07:11:25 pm]
Unexpected Project1 Form ...
by
Atlanta0001
[
Today
at 07:05:07 pm]
Browser User Agent & Frie...
by
Aruna
[
Today
at 06:28:55 pm]
How to "Jump To" the "beg...
by
WooBean
[
Today
at 06:12:51 pm]
How to use newer macOS SD...
by
apeoperaio
[
Today
at 06:02:07 pm]
Effect of streaming in a ...
by
vfclists
[
Today
at 06:01:15 pm]
Getting error: Undefined ...
by
DiegoF
[
Today
at 05:22:21 pm]
programming with Lazarus
by
Ally
[
Today
at 05:10:17 pm]
Listview how to custom or...
by
VisualLab
[
Today
at 05:06:37 pm]
TryStrToFloat
by
TRon
[
Today
at 04:30:47 pm]
Using synapse to send ema...
by
hamacker
[
Today
at 03:50:53 pm]
Unable to Query the ODBC ...
by
Thaddy
[
Today
at 03:43:31 pm]
Searching for a safe alte...
by
marcov
[
Today
at 03:12:42 pm]
MariaDB sold to Investor
by
dbannon
[
Today
at 02:55:32 pm]
Lazarus always uses a 32 ...
by
Martin_fr
[
Today
at 02:37:27 pm]
Class designer/editor
by
Aruna
[
Today
at 02:28:35 pm]
[Solved] Unable install l...
by
JohnnieK
[
Today
at 09:12:35 am]
SnapTRAINER
by
davenardella
[
Today
at 08:28:42 am]
Broken Icon Display on ma...
by
dsiders
[
Today
at 07:31:54 am]
Local Vars often inspect ...
by
SandyG
[
Today
at 05:21:45 am]
TListView.OnChange Event ...
by
msintle
[
Today
at 02:18:23 am]
Extended Module Player
by
bobby100
[
Today
at 12:21:08 am]
TDBF Recordcount
by
gidesa
[September 12, 2024, 08:32:55 pm]
CLI | Wildcard parameters...
by
MarkMLl
[September 12, 2024, 07:47:14 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] in globals.pas set to MIPS2, how to change? (Read 425 times)
Key-Real
Sr. Member
Posts: 362
[SOLVED] in globals.pas set to MIPS2, how to change?
«
on:
July 11, 2024, 08:51:56 pm »
in globals.pas under
Code: Pascal
[Select]
[+]
[-]
const
default_settings
:
TSettings
=
(
.....
it is set to:
Code: Pascal
[Select]
[+]
[-]
{$ifdef mips}
{$ifdef mips64}
cputype
:
cpu_mips3
;
optimizecputype
:
cpu_mips3
;
asmcputype
:
cpu_none
;
fputype
:
fpu_mips3
;
{$else mips64}
cputype
:
cpu_mips2
;
<
-----
optimizecputype
:
cpu_mips2
;
<
-----
asmcputype
:
cpu_none
;
fputype
:
fpu_mips2
;
<
-----
{$endif mips64}
{$endif mips}
if i do in options.pas:
Code: Pascal
[Select]
[+]
[-]
case
target_info
.
system
of
.....
system_mipsel_PS1
:
begin
{ set default cpu type to MIPS1 with no FPU }
if
not
option
.
CPUSetExplicitly
then
init_settings
.
cputype
:
=
cpu_mips1
;
if
not
option
.
OptCPUSetExplicitly
then
init_settings
.
optimizecputype
:
=
cpu_mips1
;
if
not
option
.
FPUSetExplicitly
then
init_settings
.
fputype
:
=
fpu_none
;
end
;
he is not changing the AsmWriter only if i hard code MIPS1 in globals.pas
what to do?
«
Last Edit: July 15, 2024, 11:07:59 am by Key-Real
»
Logged
Key-Real
Sr. Member
Posts: 362
Re: in globals.pas set to MIPS2, how to change?
«
Reply #1 on:
July 15, 2024, 11:07:45 am »
sorry my fault,
it works this way
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
FPC development
(Moderators:
FPK
,
Tomas Hajny
) »
[SOLVED] in globals.pas set to MIPS2, how to change?
TinyPortal
© 2005-2018