Mac OS X Lion and FPC
Hello.
I have a problem with compilling pascal in OS X Lion (10.7.4).
I installed fpc 2.6.0, fpc sources and then Lazarus 1.0.
I wrote this code:
program test1;
var
a:integer;
f:text;
begin
assign(f,'file.txt');
reset(f);
readln(f,a);
writeln(a);
close(f);
end.
I created file "file.txt" i where wrote "1".
Then i try compile it and get error message.
I try compile this code by Terminal, but i get error message again.
Free Pascal Compiler version 2.6.0 [2011/12/30] for i386
Copyright (c) 1993-2011 by Florian Klaempfl and others
Target OS: Darwin for i386
Compiling project1.pas
Assembling (pipe) project1.s
Linking project1
ld: warning: -macosx_version_min not specified, assuming 10.7
ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in __start from /usr/lib/crt1.o. To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
ld: can't write output file: project1 for architecture i386
An error occurred while linking
project1.pas(8,3) Error: Error while linking
project1.pas(8,3) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/local/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)
Help me solve my problem, please.
See if this thread helps:
https://discussions.apple.com/message/5112916#5112916
Similar Messages
-
I have both Mac OS Mountain Lion and Windows 8.1 32-bit installed....The machine is Macbook Mid 2009...Whatever i do i can't install and use bootcamp on the Windows side.........Apple Support says it only supports Windows 64-bit which my machine cannot install.......and when i tried to install Bootcamp 4 it says it only supports Windows 7 .........Is there no way to install and use Bootcamp without buying another computer?
Boot Camp - Apple Support
Boot Camp- System requirements for Microsoft Windows operating systems -
If I buy a mac with mountain lion and then upgrade to mavericks will I get iWork for free.
If you buy a new Mac with Mountain Lion, any included software is free and can be redownloaded from AppStore for that machine only. Some software only gets reinstalled if OS X (only) gets installed over itself to fix issues. See #8 Step here.
..Step by Step to fix your Mac
If you upgrade to Mavericks usually only OS X itself is changed (sometimes the hidden User Library is also), all the software (and user accounts) also carries over (compatible or not), and Apple's software is upgraded.
So if your new Mountain Lion Mac comes with free iWork, then when you upgrade to Mavericks it will still be there.
If your new Mountain Lion does not come with free iWork, then it won't magically appear for free if you upgrade to Mavericks.
If you need a free Office suit, I suggest you look at the donationware LibreOffice.
You will likely need to control key or right click to "Open" LibreOffice to approve through OS X's "Gatekeeper".
You will need to manually update it also, as it's not on AppStore.
https://www.libreoffice.org/
Benefit of LibreOffice is it's completely cross-platform compatible, so you can share working files with Windows and Linux users, which you can't with iWork.
You also should learn Microsoft Office when you have the funds, because it's standardized in the business world. -
My current os x is 10.9.5, using final cut express vers. 4.0.1. I have imported .mov clips created on a older mac os x (lion) and when I wanted to import them into fce, a quicktime conversion window opened up and converted them (I haven't experienced this in the past). I then imported the converted quicktime clips into my fce project. After doing this I took selected clips and put those edited clips on the fce timeline. When playing the video back in the fce timeline,I noticed
1) the video wasn't playing back smoothly like the original content
2) when looking at the timecode reading of the timeline, the timecode was sputtering as well as the video and audio. I exported to quicktime just to see if that was consistent, it was.
When I play the converted quicktime content independently of fce, it plays normally (no sputtering of timecode, video and audio. Need help to resolve the sputtering playback of converted video content in the fce timeline. I've never experienced this before. Any suggestions?When you say you converted the clips before importing them into FCE, did you convert to AIC or DV and do the converted clips match your FCE Sequence settings exactly? If not, go back and convert the original files again, using the intended Sequence settings as a guide.
-DH -
hello sir
i have mac os x lion and A
fter upgrading to Lion i can't instal the face time app its type ( FaceTime can’t be installed on “Mac” because the version of Mac OS X is too new. ) can anyone help me please .
notes : on snow leopard the face time was work normally but i delete it the app i thought it will work after i reinstall itLion comes with FaceTime. Look in your dock or in the Applications folder.
-
I downloaded Mac OS X Lion and when I go to install, it says file cannot be verified, may have been corrupted during download. How do I determine if it is corrupt and how do I get a clean copy of Lion, since I have already paid for it?
Download again, move the existing file out of the applications folder first.
-
I have my Mac with Mountain Lion and my IPad synched and have Pages on both. I have doc in Word on my Mac I want to access on my IPad while I am away travelling. But I can't locate them. Where should I look to find my previously saved Word docs?
Welcome to the Apple Support Communities
It looks like you haven't got them on iCloud. On your Mac, open Pages and drag the Word documents to the iCloud window -
Incorrect link to "OS X: How to migrate data from another Mac using Mountain Lion and earlier". Should be http://support.apple.com/kb/HT6025
I think the OP is saying OS X: How to migrate data from another Mac using Mountain Lion and earlier (which should be a link to HT4889) just links back to OS X: How to migrate data from another Mac using Mavericks (HT5872).
It does indeed do that, & HT4889 seems to be MIA. -
I just upgraded my mac with Mountain Lion and turned on iCloud. Now all of the music stored on my mac shows up on my iphone. My question is, if I listen to this music on my iphone am I using up my data plan?
No, if you are using the Music app you are playing them on your iPhone.
-
I have just up graded my i mac to Mountain Lion and now cannot open my e mails in entourage or my word documents. What do I do to get them back?
It looks like you have Office 2004, which doesn't run on Mountain Lion. Upgrade to Office 2008 or 2011.
-
New Mac Pro with Lion and can't install FCP.
I got a new Mac Pro with Lion and can't install FCP that worked fine in SL. Is it not compatible? Is it really a PowerPC program??? I'm a videographer and rely on this software and to spend $300 to continue to use it after spending a lot more for this software 4 years ago! Tell me this is not the case and there is a solution to installing FCP.
How to run FCP 6 (FCS 2) under Lion.
The installer for FCP 6 (FCS 2) is a PPC app. The Programs themselves are Intel. If your trying to install FCP 6 (FCS 2) this work-around will work...
First you need to install Rosetta from your Snow Leopard OS installation disc:
http://docs.info.apple.com/article.html?path=Mac/10.6/en/27987.html
After doing that you can install FCP 6 (FCS 2). Remember, after installing FCP 6 (FCS 2) you need to apply the updates. This has been discuss many times in the Final Cut Studio forum.
If your trying to install FCP version 5.1 (FCS 1) (a PPC app) and below your out of luck....
If you need further help, here is the URL for the Final Cut Studio forum:
https://discussions.apple.com/community/professional_applications/final_cut_stud io?view=discussions
R -
I have just upgraded to Mac OS X Lion and I am now unable to watch .avi files.
I have just upgraded to Mac OS X Lion and I am now unable to watch .avi files. Required codec not available is the message I get. I have run a software update and still nothing. HELP PLEASE!!
hey,
try downloading VLC player, it plays mostly everything.... literally everything...
cheers -
I have a new mac book pro/LION and can't access my back up data when I click on "enter time machine". I need the back up data that I could access on my old mac book pro (that is now broken). I can only access time machine back up data that I've obtained since starting the new mac book pro. Tnx so much
Try doing a click-and-hold on the Time Machine icon in the Dock, then select "Browse Other Time Machine Disks".
By the way, you've been misled by poor field labeling on this forum into typing a large part of your message into the field intended for the subject. In the future just type a short summary of your post into that field and type the whole message into the field below that. -
I have a Mac with Mountain Lion and a MacBook Pro with Maverick. Since I synced the calendar to icloud, I get a "upgrading iCal calendar" that won't go away. How do you fix this?
Try force quitting iCal by pressing Option-Command-Esc, selecting iCal and clicking Force Quit.
-
Updated to mac os x lion and can no longer play some of my favorite games
I updated to mac os x lion and can no longer play older blizzard games such as starcraft, warcraft 3, and diablo 2... for some reason it is no longer supported is there an update i need to get to play this software?
Relentless wrote:
but reverting may be benificial
Follow this guide as close as you can, you can't use TimeMachine user on 10.7 to revert to 10.6.
How to revert your Mac to Snow Leopard
Maybe you are looking for
-
Download data from IT to Locl Server
Hi Friends, I have writte the entire code for my purposr. All i have to do is download data from an Internal table to the local server as a text file. I am having problems in appending statement. I am not getting the proper data into it_outfile. *Tab
-
Motivations to buy a Mac Powerbook
Dear all, I am thinking to buy a Mac Powerbook. However, I need advice from Mac fans. What are good and bad points about using a Mac Power book? Thanks a lot! SONY Windows XP
-
Please Help- 2 ipods in need of serious help
Thanks for taking the time to look and help. I recently updated itunes (is it to 6.01?) Anyhow since doing this my ipod is not recognised and comes up with the following message.... When you open iTunes, this message appears, "The software required f
-
Hello, I am having several issues with Iphoto after upgrading to '11. I was able to use time machine to reload photos as the photos disappeared...basically it was a disaster. I am continuing to experience a lot of issues with Iphoto - it no longers o
-
Error Message - Pavilion dv6-6c50us
Error Message - Pavilion dv6-6c50us Options 05-27-2012 07:47 PM I recently purchased (May 19, 2012) and received (May 21, 2012) my HP Pavilion dv6-6c50us. Upon opening and starting the computer I received this error message: Please Note the Memory